PHP Warnings displaying on front and back-end

Upon activation of this plugin, PHP Warnings are being displayed on both the front- and back-end. I’ve added @ini_set(‘display_errors’,’Off’:wink:; in my wp-config.php but has no affect.

  • DanOne
    • Design Lord, Child of Thor

    Hi,

    I think disabling warnings is not a good solution. Better would be to fix the problem. Can you post the warning message?

    You can log the messages by adding this to your wp-config.php:

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);
    @ini_set('display_errors',0);

    That will log all errors, warnings and notices to debug.log in wp-content folder. Then you could copy and paste the content of the file here :slight_smile:

  • feedmymedia
    • Design Lord, Child of Thor

    Sorry missed your first question, this is being displayed

    Warning: Creating default object from empty value in /var/www/bizjam.feedmydemo.co.za/wp-content/plugins/buddypress/bp-core/bp-core-catchuri.php on line 37

    Warning: Creating default object from empty value in /var/www/bizjam.feedmydemo.co.za/wp-content/plugins/buddypress/bp-core/bp-core-functions.php on line 148

    Warning: Creating default object from empty value in /var/www/bizjam.feedmydemo.co.za/wp-content/plugins/buddypress/bp-core/bp-core-functions.php on line 148

    Warning: Creating default object from empty value in /var/www/bizjam.feedmydemo.co.za/wp-content/plugins/buddypress/bp-core/bp-core-functions.php on line 148

    Warning: Creating default object from empty value in /var/www/bizjam.feedmydemo.co.za/wp-content/plugins/buddypress/bp-core/bp-core-functions.php on line 148

    Warning: Creating default object from empty value in /var/www/bizjam.feedmydemo.co.za/wp-content/plugins/buddypress/bp-core/bp-core-functions.php on line 148

    Warning: Creating default object from empty value in /var/www/bizjam.feedmydemo.co.za/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 52

    Warning: Creating default object from empty value in /var/www/bizjam.feedmydemo.co.za/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 54

    Warning: Creating default object from empty value in /var/www/bizjam.feedmydemo.co.za/wp-content/plugins/buddypress/bp-core/bp-core-loader.php on line 167

    Warning: Creating default object from empty value in /var/www/bizjam.feedmydemo.co.za/wp-content/plugins/buddypress/bp-core/bp-core-loader.php on line 172

    Warning: Creating default object from empty value in /var/www/bizjam.feedmydemo.co.za/wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php on line 202

    Warning: Creating default object from empty value in /var/www/bizjam.feedmydemo.co.za/wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php on line 202

    Warning: Creating default object from empty value in /var/www/bizjam.feedmydemo.co.za/wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php on line 202

    Warning: Creating default object from empty value in /var/www/bizjam.feedmydemo.co.za/wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php on line 202

    We’ve added 20 other of your plugins, this is the only one that displays the warnings when activated.

  • Timothy
    • Chief Pigeon

    Hey feedmymedia.

    Thanks for getting back to me with the errors.

    So when the classified ads plugin is off this all works?

    Can you please confirm the version of WordPress, BuddyPress, PHP and our plugin Classifieds.

    Does this error happen with the default BuddyPress theme active?

    Thanks

  • Timothy
    • Chief Pigeon

    Hey feedmymedia.

    Just checking in to see how things are going here as we haven’t heard back from you in a while.

    If everything is sorted then thats cool, no worries.

    If you still need some further help then please let us know where you are at with everything.

    Take care.

  • Timothy
    • Chief Pigeon

    Hey feedmymedia.

    Thanks for getting back to me and I’m real sorry about the issues you have had.

    We have now assigned a new developer to this plugin, so new releases should not be far off.

    Hopefully that will resolve the problem you have had here.

    Take care.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.