`Warning: Declaration of BP_Walker_Nav_Menu::walk($elements, $max_depth) should be compatible with Walker::walk($elements, $max_depth, …$args) in /home/xxxx/public_html/wp-content/plugins/buddypress/bp-core/classes/class-bp-walker-nav-menu.php on line 0
I am having the same problem after updating wordpress 5.3.
Regards.
Same for me. A honking great string of errors that are showing at the top of the page to visitors on the front end.
It’s still there, even when I disable BP (I don’t want to delete it and lose my settings). I’ve had to take my site offline for the past 24 hrs.
Is BuddyPress releasing an update to fix this soon? Every other major app has since the latest version of WordPress.
Please help guys!
I can confirm this is happening.
If you’re like me and you do not want these PHP warnings added to your error log every second, you could temporarily do the following until the BuddyPress developers fix this. I stress temporarily because knowing about PHP errors and warnings is a good thing. Add this to your wp-config.php file:
ini_set('error_reporting', 0 );
Again, don’t forget to remove this once you know this is fixed so you can catch the next warning/error your site has.
I know this is slightly pointless… why not just let the warnings log for now… but it’s more of a mental appeasement. 🙂
Or, to really ensure no warnings/errors show in logs or on your live site (once again only until this is fixed), remove the existing define('WP_DEBUG', false);
line in wp-config.php, and replace it with all of the following:
ini_set('display_errors','Off');
ini_set('error_reporting', 0 );
define('WP_DEBUG', false);
define('WP_DEBUG_DISPLAY', false);
I wish you had longer to edit posts here. My apologies for triple posting here, but I want to mention that what I put above actually may not stop the error logging. I thought it was working, but it is not. 🙂 Not with my hosting anyway. I’m sure the BuddyPress gods will fix this soon. May the force be with you all.
Actually, you can stop the error logging too if your hosting is set up to log errors and you want to temporarily stop that as well. Because as mentioned above, this particular warning for me is happening about every second or every minute. It’s another thing to try to remember to remove later, but you could also add php_flag log_errors off
to your .htaccess file.
You may prefer to keep the error logging going and just wait for the fix. But, I already started down this path and so I thought I’d post this solution.
Thanks for letting us know shanedp.
Sorry for my ignorance, but how do I add the patch?
Thanks
Hi,
how do I add the patch?
Applying a patch requires the use of version control.
You can apply a patch manually by editing each file in the patch, but I don’t recommend it.
The best approach is to wait until the patch is rolled into the next release.
If you have further questions, you can add them to the ticket.
Is there any other possible workaround we can apply?
Any update guys? I’m going to have to delete BuddyPress at this rate. My site has slowed to a crawl