Academy Member Community

Get technical questions answered... or help with your business strategy. Your call. :)

Academy Member Community

Get informed answers to your Wordpress questions – right here in the Academy member community. One of the benefits of your free membership.

Already a member? Sign In.

  • Site Health Warning

     Rob Dyer updated 1 year, 4 months ago 2 Members · 5 Posts
  • Rob Dyer

    Member
    September 17, 2020 at 11:01 am

    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?

  • David Risley

    Administrator
    September 17, 2020 at 11:40 am

    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?

  • Rob Dyer

    Member
    September 17, 2020 at 4:09 pm

    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?!

  • David Risley

    Administrator
    September 18, 2020 at 10:54 am

    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.

  • Rob Dyer

    Member
    September 19, 2020 at 6:39 am

    Cool – thanks David.

    I’ll do that now.

Viewing 1 - 5 of 5 replies

Log into your account to participate in this discussion.

Original Post
0 of 0 posts June 2018
Now

Create Your FREE Account!

Join and participate in the community, access exclusive resources in the Document Vault, and get a free subscription to THE EDGE.

Your membership is free for life.