1 post
  • Has been a member for 0-1 years
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!

by
by
by
by
by
by