Skip to:
Content
Pages
Categories
Search
Top
Bottom

Warning: Creating default object from empty value


  • drinkingsouls
    Participant

    @drinkingsouls

    Hey guys,

    I recently upgraded to the latest version of WordPress and Buddypress and I’m now getting PHP errors in both the frontend and admin panel of WordPress.

    I am receiving the following errors:

    Warning: Creating default object from empty value in /home/user/public_html/wp-content/plugins/buddypress/bp-members/bp-members-loader.php on line 100

    Warning: Creating default object from empty value in /home/user/public_html/wp-content/plugins/buddypress/bp-core/bp-core-loader.php on line 206

    I have found a few support threads on here for this issue but I’ve had no luck with a solution. Any help would be greatly appreciated.
    Thanks,
    Chris

Viewing 1 replies (of 1 total)

  • bp-help
    Participant

    @bphelp

    The error occurs in PHP 5.4+
    This is not really a fix but it should stop the error. Add it to your active themes functions.php
    `
    /* Stop errors if any */
    error_reporting(E_ERROR | E_PARSE);
    /* End stop Errors */
    `

Viewing 1 replies (of 1 total)
  • The topic ‘Warning: Creating default object from empty value’ is closed to new replies.
Skip to toolbar