Skip to:
Content
Pages
Categories
Search
Top
Bottom

WP_DEBUG Notices in bp-legacy-loader.php and buddyboss-slides-loader.php


  • John Clause
    Participant

    @johnclause

    With define('WP_DEBUG', true); in /wp-config.php:

    The following notice appears in the error_log randomly under different circumstances:

    
    PHP Notice:  Undefined property: stdClass::$id in /wp-content/themes/buddyboss/buddyboss-inc/buddyboss-bp-legacy/bp-legacy-loader.php on line 171
    

    And the one below appears on the screen every time “Save Menu” is pressed in /wp-admin/nav-menus.php

    
    Notice: Undefined index: meta_box_nonce in /wp-content/themes/buddyboss/buddyboss-inc/buddyboss-slides/buddyboss-slides-loader.php on line 132
    

    I guess, they are easy to get rid of them in the code, without investigating what combinations of plugins and actions make them to appear? It makes it harder to troubleshoot other plugins.

    Thanks a lot.

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

  • shanebp
    Moderator

    @shanebp

    Since BuddyBoss is a premium theme, your purchase entitles you to paid support.
    So you’re better off asking those questions on the BuddyBoss support system.


    John Clause
    Participant

    @johnclause

    I am sorry, I thought this is their support system. I will report it there then.
    Here is one more:

    
    PHP Notice:  Undefined offset: 1 in /wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php on line 1769
    

    Does this belong here?


    shanebp
    Moderator

    @shanebp

    Yes, that is a BP notice.

    You should provide the versions of BP and WP that you are using.
    Are you using any 3rd party activity or media plugins? Have you tried turning them off ?


    John Clause
    Participant

    @johnclause

    All versions are the latest. No, I have not tried to investigate, I just spotted it in error_log and it makes false alarms for me. Investigation may take a day, depending on the number of plugins, but the message is so clear, that if you simply put ‘if(isset())’ in the place with proper handling, it will be gone regardless. What difference does it make, which plugin is in conflict if any, the fix you would do is the same: just more clean code.


    shanebp
    Moderator

    @shanebp

    BuddyPress encourages its users to find and report bugs.
    And they are even happier when a bug report includes a fix!
    If you have found a bug, please open a ticket on trac.


    John Clause
    Participant

    @johnclause

    I tried, it seem like they want me to create an account. Please, just forward this discussion to them, it constitutes a bug report already. Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WP_DEBUG Notices in bp-legacy-loader.php and buddyboss-slides-loader.php’ is closed to new replies.
Skip to toolbar