Hello plugin or theme author! You possibly found this post after searching the Internet for the error above: “PHP Warning: Missing argument 2 for wpdb::prepare().”
So, this is a new warning in 3.5. No sites are broken, everything is fine as before. But, this is indeed something you need to look at, because you may be exposing your users to a possible SQL injection vulnerability. Now that’s no fun!
First, if you’re a user and you want to get rid of these errors, you should turn off the displaying of errors in PHP. There are many ways to do this, such as in php.ini, .htaccess, etc. For this, you can just put this in wp-config.php. (Note that hiding errors on production sites is good practice anyway.)
1
@ini_set('display_errors', 0);
Ok how do I find displaying of errors in PHP on my site ? is there a way to simplify the instructions ie
go here on the dashboard - click this & place the following ??? click enter and shazam your site is fixed . I really don't want to have to spend over $100 dollars to have my web person fix this , so I'm hoping you could please simplify the how to fix instructions