Site Health Warning
- This topic has 4 replies, 2 voices, and was last updated 2 years, 6 months ago by
Rob Dyer.
-
AuthorPosts
-
-
A Notice has just popped up at the top of my WP dashboard and is also being flagged as a critical issue. It means nothing to me and I cannot find how to correct it.
Any ideas @David?
Here’s the messages.
Notice: wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
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_DISPLAY
, has either been enabled byWP_DEBUG
or added to your configuration file. This will make errors display on the front end of your site.Learn more about debugging in WordPress. (opens in a new tab)
I also had a warning in Google Search Console a couple of days ago that my site timed out and reported a Server error (5xx). It has however stopped reporting the error (even though I’ve touched nothing.)
Could they be related?
-
September 17, 2020 at 11:01 am #3523697
Why do you have debug mode turned on? Did you do that? Did your host do it as part of figuring something out?
Who is your host again?
-
September 17, 2020 at 11:01 am #3523735
It is in your wp-config.php file. You would need to edit the file via FTP or file manage, perhaps, via Siteground. But, in there, you have options for enabling debug.
define(‘WP_DEBUG’,true);
If that is set to FALSE, it will be disabled.
-
-
AuthorPosts
- You must be logged in to reply to this topic.