When WordPress released version 3.5 in December 2012 they included a brand new warning message about a possible security hole due to the way some plugins are written. If you recently upgraded your WordPress installation to version 3.5, you might be seeing a message similar to this at the bottom of every page:
“Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/52/8331652/html/wp-content/themes/chateau-2.0/functions.php on line 91 and defined in /home/content/52/8331652/html/wp-includes/wp-db.php on line 990”
If so, don’t worry, your blog is perfectly fine. It isn’t broken. That is just a warning message, not an error message. Removing the warning message is easy. Just edit your wp-config.php file (make a backup copy of the file first though in case something goes wrong) and add this line to turn off error display on your blog:
Upload the edited wp-config.php file to your server and you’ll be good to go!