Title: wpdb-&gt;prepare issue
Last modified: August 20, 2016

---

# wpdb->prepare issue

 *  [Joost de Valk](https://wordpress.org/support/users/joostdevalk/)
 * (@joostdevalk)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/wpdb-prepare-issue/)
 * Line 332 of admin.php needs to be changed, the `$wpdb->prepare` statement in 
   there isn’t needed, as there are no variables, so it can safely be removed.
 * If not removed, the plugin throws the following warning:
 * Error: Missing argument 2 for wpdb::prepare(), called in /home/example/public_html/
   wp-content/plugins/akismet/admin.php on line 332 and defined
 * [http://wordpress.org/extend/plugins/akismet/](http://wordpress.org/extend/plugins/akismet/)

Viewing 1 replies (of 1 total)

 *  [Prasanna SP](https://wordpress.org/support/users/prasannasp/)
 * (@prasannasp)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/wpdb-prepare-issue/#post-3264950)
 * [Mark](http://wordpress.org/support/topic/missing-argument-2-for-wpdbprepare-error-with-wordpress-35?replies=4#post-3567214)
   said that the issue will be fixed in the next release. So, waiting for it.

Viewing 1 replies (of 1 total)

The topic ‘wpdb->prepare issue’ is closed to new replies.

 * ![](https://ps.w.org/akismet/assets/icon-256x256.png?rev=2818463)
 * [Akismet Anti-spam: Spam Protection](https://wordpress.org/plugins/akismet/)
 * [Support Threads](https://wordpress.org/support/plugin/akismet/)
 * [Active Topics](https://wordpress.org/support/plugin/akismet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/akismet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/akismet/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Prasanna SP](https://wordpress.org/support/users/prasannasp/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/wpdb-prepare-issue/#post-3264950)
 * Status: not resolved