• The following warning messages are appearing on my site–www.pambritton.com

    On the home page: Warning: Creating default object from empty value in /home4/dakini/public_html/wp-includes/user.php on line 660

    Warning: Creating default object from empty value in /home4/dakini/public_html/wp-includes/user.php on line 660

    Warning: Creating default object from empty value in /home4/dakini/public_html/wp-includes/class-wp-admin-bar.php on line 167

    Warning: Creating default object from empty value in /home4/dakini/public_html/wp-includes/class-wp-admin-bar.php on line 167

    Warning: Creating default object from empty value in /home4/dakini/public_html/wp-includes/class-wp-admin-bar.php on line 167

    How do I remove/repair this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    check wp-config.php in the root of WordPress for this line:
    define( ‘WP_DEBUG’, true );

    If you see it, try changing it to:
    define( ‘WP_DEBUG’, false );

    make sure to use a plain text editor.

    also, before editing any file, always backup, in case!

    Thread Starter webjaguar

    (@webjaguar)

    How/where would I check “wp-config.php in the root of….”? What section is it in? Is it under any of the links in the left-hand column in my dashboard?

    Moderator t-p

    (@t-p)

    look in the root of your WP installation using FTP , or your web-host’s cPanel or whatever file management application your host provides.

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

The topic ‘Warning messages’ is closed to new replies.