Skip to:
Content
Pages
Categories
Search
Top
Bottom

Error after WordPress update


  • openthem
    Participant

    @openthem

    Warning: Declaration of BP_Walker_Nav_Menu::walk($elements, $max_depth) should be compatible with Walker::walk($elements, $max_depth, ...$args) in /home/xxxxxx/public_html/wp-content/plugins/buddypress/bp-core/classes/class-bp-walker-nav-menu.php on line 0

    Hi there I just updated WordPress to the newest version – WordPress 5.3 – and that message showed up right after.
    I always keep it updated so the previous version was the newest one.

    Any idea why?
    Thanks

Viewing 13 replies - 1 through 13 (of 13 total)

  • bugun
    Participant

    @bugun

    `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.


    maccas83
    Participant

    @maccas83

    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!


    wilcosky
    Participant

    @wilcosky

    I can confirm this is happening.


    wilcosky
    Participant

    @wilcosky

    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);

    wilcosky
    Participant

    @wilcosky

    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.


    wilcosky
    Participant

    @wilcosky

    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.


    shanebp
    Moderator

    @shanebp

    This is a known bug and a ticket & patch exist:
    https://buddypress.trac.wordpress.org/ticket/8163


    maccas83
    Participant

    @maccas83

    Thanks for letting us know shanedp.

    Sorry for my ignorance, but how do I add the patch?

    Thanks


    bugun
    Participant

    @bugun

    Hi,
    how do I add the patch?


    shanebp
    Moderator

    @shanebp

    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.


    bugun
    Participant

    @bugun

    Hi,

    when do you plan to solve this problem?

    my cpu usage:

    https://snipboard.io/vbDPfC.jpg

    http://turdepo.com/i/1573822180_966.png


    openthem
    Participant

    @openthem

    Is there any other possible workaround we can apply?


    maccas83
    Participant

    @maccas83

    Any update guys? I’m going to have to delete BuddyPress at this rate. My site has slowed to a crawl

Viewing 13 replies - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.
Skip to toolbar