1 post
danagmm says

After upgrading WP on a clients account yesterday, several errors began popping up. On the index page itself, this displays at the top.

Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/75/12166975/html/dev/wp-content/themes/switchblade/framework/sidebars.php on line 79 and defined in /home/content/75/12166975/html/dev/wp-includes/wp-db.php on line 1147

When trying to access the wp-admin page of the site now, these error messages are displayed:

Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/75/12166975/html/dev/wp-content/themes/switchblade/framework/sidebars.php on line 79 and defined in /home/content/75/12166975/html/dev/wp-includes/wp-db.php on line 1147

Warning: Cannot modify header information – headers already sent by (output started at /home/content/75/12166975/html/dev/wp-includes/wp-db.php:1147) in /home/content/75/12166975/html/dev/wp-includes/pluggable.php on line 1121

If anyone has any insight or ideas on the cause and the solution, I would be very grateful. Thanks you!

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by