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 / and I did not see what the file is support to be.
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/support/article/debugging-in-wordpress/ and I did not see what the file is support to be.
Share Improve this question asked Apr 27, 2020 at 14:32 NateNate 2111 silver badge12 bronze badges1 Answer
Reset to default 1You 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.