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'); in my wp-config.php but has no affect.

  • DanOne

    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

    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.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.