Site Health Warning

  • Author
      • September 17, 2020 at 11:01 am #3523680

        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 by WP_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 #3523718

            I wouldn’t even know how to switch debugging on!

            I guess it may have been the support at Thrive as their devs had to do some work on my site to fix it after I migrated to TTB.

            My host is Siteground.

            Can I just turn it off? If so – how?!

            • 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.


              If that is set to FALSE, it will be disabled.

              • September 17, 2020 at 11:01 am #3523751

                Cool – thanks David.

                I’ll do that now.

            • You must be logged in to reply to this topic.