最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Debug Errors, site health

programmeradmin1浏览0评论

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 badges
Add a comment  | 

1 Answer 1

Reset to default 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.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论