Ossity is our latest product. It's a search hub and web research tool. Try it now for free!


This page has been Textised!
The original page address was https://buddypress.trac.wordpress.org/ticket/8320

Skip to:
Content
Context Navigation

Last modified 17 hours ago

#8320 new   defect (bug)   404 error for the next page after loading any BuddyPress page  Reported by: [Image: dmcsupport's profile]   dmcsupport Owned by: Milestone: Awaiting Review Priority: high Severity: critical Version: 6.0.0 Component: Core Keywords: Cc: support@…, dmcsupport
Description
Random 404 pages appearing after the BuddyPress page loads.

The pattern is always the same:
BuddyPress page: page displayed correctly
– Next page (not BP): throws a 404

Similar issue has been reported a few years back. Please find the link here -  https://buddypress.org/support/topic/is_404-triggered-on-every-buddypress-page/

There is also a ticket explaining similar bug here -  https://buddypress.trac.wordpress.org/ticket/6527#comment:4

Is there a fix of this? Please advise.

 
Change History (4) 
#1     @dmcsupport   
4 years ago 
 
  • Cc dmcsupport added
So the cause of this 404 error the line below in the file /wp-content/plugins/buddypress/bp-core/bp-core-catchuri.php

$wp_rewrite->use_verbose_page_rules = false;

This line can be wrapped around with IF statement to check if the page is BP or non BP page.

#2     @mylinksdin   
3 weeks ago 
 
Fixed in [6527]

global $wp_query; // Start: Compatibiltiy fix for BuddyPress members and groups if ( function_exists( 'bp_is_user' ) && function_exists( 'bp_is_group' ) ) { if ( bp_is_user() ) { $bp_content_slug = $GLOBALS['bp']->pages->members->slug; } elseif ( bp_is_group() ) { $bp_content_slug = $GLOBALS['bp']->pages->groups->slug; } if ( !empty( $bp_content_slug ) ) { $wp_query = new WP_Query( array( 'pagename' => $bp_content_slug ) ); } }


Last edited 3 weeks ago by mylinksdin  (previous) (diff)
#3     @kuzmin20   
9 days ago 
 
So the cause of this 404 error the line below in the file /wp-content/plugins/buddypress/bp-core/bp-core-catchuri.php
$wp_rewrite->use_verbose_page_rules = false;
This line can be wrapped around with IF statement to check if the page is BP or non BP page.

Last edited 9 days ago by kuzmin20  (previous) (diff)
#4     @andrehakkaknetworth   
17 hours ago 
 
Andre Hakkak Net Worth, a name synonymous with entrepreneurial prowess and philanthropic endeavors, has carved a niche for himself in the realms of business and social responsibility. With a humble beginning and an indomitable spirit, Hakkak’s journey is a testament to perseverance and vision. https://mysterioushub.co.uk/andre-hakkak-net-worth/

Last edited 17 hours ago by andrehakkaknetworth  (previous) (diff)
Note: See TracTickets for help on using tickets.


Textise: Back to top

This text-only page was created by Textise (www.textise.net) © Textise - CPC LLC
To find out more about our product, visit Textise.org.