{"id":18611747,"date":"2025-08-24T15:38:37","date_gmt":"2025-08-24T15:38:37","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/wp_debug-7\/"},"modified":"2025-08-24T15:38:37","modified_gmt":"2025-08-24T15:38:37","slug":"wp_debug-7","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/wp_debug-7\/","title":{"rendered":"WP_DEBUG"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi everyone,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I\u2019m using the latest version of WordPress and I\u2019m still seeing the Site Health warning:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u201cYour site is set to log errors to a potentially public file.\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But I\u2019ve confirmed:<br \/>\u2013 WP_DEBUG is set to false<br \/>\u2013 WP_DEBUG_LOG is not defined at all in wp-config.php<br \/>\u2013 I even used unset($GLOBALS[&#8216;WP_DEBUG_LOG&#8217;]) to remove it if defined<br \/>\u2013 debug.log does not exist in \/wp-content<br \/>\u2013 All cache (LiteSpeed and browser) cleared<br \/>\u2013 No debug-related plugins installed<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Everything is clean, yet the warning persists. Is this a known false positive or caching bug?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks in advance!<\/p>\n","protected":false},"template":"","class_list":["post-18611747","topic","type-topic","status-publish","hentry","topic-tag-wp_debug"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18611747","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18611747\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18611747"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}