After installing the WordPress 3.5 upgrade our self-hosted website is displaying the following error message at the top of each post:
Warning: Missing argument 2 for wpdb::prepare(), called in /home/michael/public_html/longingsend.com/wp-content/themes/chateau-2.0/functions.php on line 91 and defined in /home/michael/public_html/longingsend.com/wp-includes/wp-db.php on line 990
We have multiple websites and the only one seemingly adversely affected is the one with the Chateau theme: http://www.longingsend.com
Yes, we’ve resolved the problem. As alchymyth rightly points out, the theme is a commercial one that we had purchased directly from the author’s website. We managed to contact the author through Twitter. He fixed the problem and emailed us the updated theme.
You can try reaching Ignacio via Twitter at @ignacioricci.