"The query argument of wpdb::prepare() must have a placeholder." - ??

Hi WPMUDev,

I hope your day is going well!

I have previously reported this issue as part of this thread (in my first comment after op).

My debug log is stuffed with these error messages.

PHP Notice: wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder.

Since posting in the above linked thread, I have completely reinstalled WP and all plugins.

As in my previous setup, I have the WPMUDev dashboard, Domain Mapping & Multi-Domains installed.

In this setup I have also introduced the CloudFlare plugin, the HTTPS for WordPress plugin, the Genesis Framework and the BulletProof Security Pro plugin.

These errors were apparent before I added the additional plugins/theme.

I am currently also working to resolve the logged errors regarding BPS Pro.

Attached is a sample of my log for review.

Support access is active.

Regards,
Max

  • wp.network

    errg. that attachment seems to have failed :slight_frown:

    here is a shorter sample, but long enough to show patterns.

    [22-Aug-2014 19:04:21 UTC] PHP Notice:  Undefined index: pagenow in /home/myfilepath/public_html/wp-includes/link-template.php on line 2442
    [22-Aug-2014 19:04:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:04:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:04:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:04:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:04:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:04:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:04:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:04:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:04:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:04:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:07:21 UTC] PHP Notice:  Undefined index: pagenow in /home/myfilepath/public_html/wp-includes/link-template.php on line 2442
    [22-Aug-2014 19:07:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:07:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:07:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:07:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:07:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:07:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:07:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:07:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:07:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:07:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:09:21 UTC] PHP Notice:  Undefined index: pagenow in /home/myfilepath/public_html/wp-includes/link-template.php on line 2442
    [22-Aug-2014 19:09:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:09:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:09:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:09:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:09:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:09:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:09:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:09:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:09:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:09:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:24 UTC] PHP Notice:  Constant COOKIE_DOMAIN already defined in /home/myfilepath/public_html/wp-content/sunrise.php on line 34
    [22-Aug-2014 19:10:24 UTC] PHP Notice:  get_current_site_name is <strong>deprecated</strong> since version 3.9 with no alternative available. in /home/myfilepath/public_html/wp-includes/functions.php on line 3085
    [22-Aug-2014 19:10:25 UTC] PHP Notice:  Undefined index: pagenow in /home/myfilepath/public_html/wp-includes/link-template.php on line 2442
    [22-Aug-2014 19:10:25 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:25 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:25 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:25 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:25 UTC] PHP Notice:  Constant COOKIE_DOMAIN already defined in /home/myfilepath/public_html/wp-content/sunrise.php on line 34
    [22-Aug-2014 19:10:25 UTC] PHP Notice:  get_current_site_name is <strong>deprecated</strong> since version 3.9 with no alternative available. in /home/myfilepath/public_html/wp-includes/functions.php on line 3085
    [22-Aug-2014 19:10:25 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:25 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:25 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:25 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:25 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:25 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:25 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:25 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:25 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:25 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:25 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:25 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:25 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  Constant COOKIE_DOMAIN already defined in /home/myfilepath/public_html/wp-content/sunrise.php on line 34
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  get_current_site_name is <strong>deprecated</strong> since version 3.9 with no alternative available. in /home/myfilepath/public_html/wp-includes/functions.php on line 3085
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  Undefined index: pagenow in /home/myfilepath/public_html/wp-includes/link-template.php on line 2442
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:10:26 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:11:21 UTC] PHP Notice:  Undefined index: pagenow in /home/myfilepath/public_html/wp-includes/link-template.php on line 2442
    [22-Aug-2014 19:11:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:11:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:11:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:11:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:11:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:11:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:11:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:11:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:11:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:11:21 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:11:57 UTC] PHP Notice:  Constant COOKIE_DOMAIN already defined in /home/myfilepath/public_html/wp-content/sunrise.php on line 34
    [22-Aug-2014 19:11:57 UTC] PHP Notice:  get_current_site_name is <strong>deprecated</strong> since version 3.9 with no alternative available. in /home/myfilepath/public_html/wp-includes/functions.php on line 3085
    [22-Aug-2014 19:11:57 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:11:57 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:11:57 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:11:58 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
    [22-Aug-2014 19:11:58 UTC] PHP Notice:  Constant COOKIE_DOMAIN already defined in /home/myfilepath/public_html/wp-content/sunrise.php on line 34
    [22-Aug-2014 19:11:58 UTC] PHP Notice:  get_current_site_name is <strong>deprecated</strong> since version 3.9 with no alternative available. in /home/myfilepath/public_html/wp-includes/functions.php on line 3085
    [22-Aug-2014 19:11:58 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.9.) in /home/myfilepath/public_html/wp-includes/functions.php on line 3245
  • Michelle Shull

    Hey there, Max!

    Well that's certainly no way to spend a Friday now, is it?

    Some of the errors you're seeing in that list aren't anything to worry about, but it appears the most frequent bug on the list is discussed here, in relation to WPML. http://wpml.org/forums/topic/notice-wpdbprepare-was-called-incorrectly-wordpress-3-9/

    Does this relate to the issue you're having at all?

    We'll get it sorted!

  • wp.network

    Hi @Michelle Shull

    Thanks soooo much for your reassuring reply!

    Fridays are my favorite day for bug hunting! (it means a productive WP weekend, hopefully :slight_smile:

    1) Can you tell me which are the errors that needn't be a worry?
    1a) Specifically, I was wondering about the COOKIE_DOMAIN one...

    2) As I said, I am also working on the BPS Pro stuff now...

    3) The article you linked to does seem to relate to my issue. In fact, I read that article before posting :slight_smile:

    I am a fan of sorted. Looking forward to more info.

    Kind Regards,
    Max

  • wp.network

    note: I found this thread in the forums for Domain Mapping

    Obviously, the above linked thread is a bit dated and the issue is a bit different; yet it did get me thinking more confidently that my issue might be with Domain Mapping.

    I know that y'all are working to get a new DM release out soon; if my issue is DM related, will the fix for this be included in the next release and/or is a temporary fix possible?

    If not DM related, well... then, you tell me :slight_smile:

    Aloha,
    Max

  • Jose

    Hey there @TIVISM,

    Hope you are doing fantastic today :slight_smile:

    Can you tell me which are the errors that needn't be a worry?

    Actually, none of those should be a worry.

    You might be aware of this, but it may worth to clarify for other members, that all these messages are just NOTICE level, so your site will run without issues, and you won't see this messages if you set WP_DEBUG to false in your wp_config.php file (which is the expected setup for live sites).

    That said,
    The wpdb::prepare() message is caused by some plugin/code calling the prepare function without replace placeholders ('%') in the SQL query string.

    The Domain Mapping message is caused by a definition of the constant 'COOKIE_DOMAIN' in line 14 of sunrise.php, and a redefinition of the same constant in the line 34.
    I'll mark this last one to the attention of the lead developer @Sam to see if he can find a way to change this in future releases in order to keep the logs clean. :slight_smile:

    Thanks for noticing this issues.

    Please let me know if you experience any functionality issue that needs an immediate fix.

    Cheers!
    Jose

  • wp.network

    Hi @Jose

    Thanks for the clarifications!

    I am doing my best to be a very careful user :slight_smile:

    1) I know Sam is working to get a new release of DM out, and am glad you got a message to him about the cookie_domain thing. Clean log files are very helpful.

    2)

    The wpdb::prepare() message is caused by some plugin/code calling the prepare function without replace placeholders ('%') in the SQL query string.

    As I mentioned above, though I had a few non-WPMUDev plugins installed when the log file attached above was produced, I had also experienced very similar behavior in a prior install with only 2014 theme and the three WPMUDev plugins mentioned above (Dashboard, DM & Multi-Domains).

    So, assuming that this error is 'trivial' and can basically be ignored, is there a way to figure out what plugin is producing this and then hopefully work towards a solution for the sake of clean log files?

    I have since again deleted my WP, and plan to immediately install the three WPMUDev plugins. I will hold off for a little bit to see if I get the same log entries just to be sure its WPMUDev related.

    Cheers, max

  • Jose

    Hey Max,

    We can try using debug_backtrace() to get the call stack.

    My idea is to hook into the action 'doing_it_wrong_run', and print a dump of the stack object.

    This is the experimental code:

    add_action( 'doing_it_wrong_run', array($this, 'trace_stack'), 10, 3);
    
    function trace_stack($function, $message, $version){
    var_dump(debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT, 5));
    }

    I'm attaching the same code wrapped into a must-use plugin so if you don't want to mess with the code you can just drop the file into ../wp-content/mu-plugins/ folder

    The expected behavior is to get a var_dump of the multidimensional array where each array is a stack frame.

    As you can see in the image, the 'wrong' call to prepare() function is described in the index 4 of the array.

    Of course, this is displayed in the front end of every page of your site. You don't want to implement this in your live site. :wink:

    Please let me know if this works fine and also if you find out which plugin/theme is causing the error log.

    Cheers!
    Jose

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.