When I go to site health this is what I am seeing.

Debug mode is often enabled to gather more details about an error or site failure, but may contain sensitive information which should not be available on a publicly available website.

The value, WP_DEBUG_LOG, has been added to this website’s configuration file. This means any errors on the site will be written to a file which is potentially available to normal users.

What should the file be? I looked at https://wordpress.org/support/article/debugging-in-wordpress/ and I did not see what the file is support to be.

1 Answer 1


You should be looking for the wp-config.php file in the root of your WordPress installation. From the documentation in the WP_Debug Section

WP_DEBUG is a PHP constant (a permanent global variable) that can be used to trigger the “debug” mode throughout WordPress. It is assumed to be false by default and is usually set to true in the wp-config.php file on development copies of WordPress.

  • So how do I fix it?
    – Nate
    Apr 27, 2020 at 14:49
  • 1
    It's likely a problem that requires developer intervention and not something easily fixable. If you don't see any issues with your website you can likely ignore the message. You would enable Debugging in your wp-config.php file as the examples shows in the documentation. Browse around the website, and any PHP errors or notices will appear in a wp-content/debug.log
    – Howdy_McGee
    Apr 27, 2020 at 14:53
  • Okay thank you.
    – Nate
    Apr 27, 2020 at 14:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.