Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Errors showing up, not sure what to do


  • catonezillion
    Participant

    @catonezillion

    Hi,

    I’ve been having issues with speed so I deactivated bp and a bunch of associated plugins, then switched to https and php7. (My versions are all up to date). I turned on the error log after having problems reactivating a bunch of the associated plugins. I see the following errors with only bp activated:

    Notice: bp_nav was called incorrectly. The bp_nav and bp_options_nav globals should not be used directly and are deprecated. Please use the BuddyPress nav functions instead. Please see Debugging in WordPress for more information. (This message was added in version 2.6.0.) in /home/preci832/public_html/wp-includes/functions.php on line 4137

    Notice: Undefined index: articles in /home/preci832/public_html/wp-content/plugins/buddypress/bp-core/classes/class-bp-core-bp-nav-backcompat.php on line 111

    Any help would be appreciated.
    Cathy

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

  • catonezillion
    Participant

    @catonezillion

    Also I’m unable to activate more than 5 or 6 associated plugins before activation fails and I get a page with “500 internal error” screen showing up. The first 5 or 6 activate but do it slowly.


    katmacau
    Participant

    @katmacau

    Any update on this one? I also need to know what to replace it with.


    @mercime
    Participant

    @mercime

    > I also need to know what to replace it with.

    @katmacau
    Sorry that you also have errors showing up like catonezillion. What is “it” that you want to replace exactly? Is your installation on PHP7, https, and updated to the latest versions of BP/WP as well?

    Have you tried switching over to the Twenty Seventeen/Sixteen theme and see if the errors are showing up? If not, then it could in all probability be a problem with a third-party theme you installed.


    katmacau
    Participant

    @katmacau

    It was some code in a plugin that was deprecated. The solution was to replace with this:

    
    function bpcodex_remove_member_notifications_tab() {
    bp_core_remove_nav_item( ‘notifications’ );
    }
    add_action( ‘bp_actions’, ‘bpcodex_remove_member_notifications_tab’ );
    
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar