WordPress.org

Forums

Akismet
wpdb->prepare issue (2 posts)

  1. Joost de Valk
    Member
    Posted 2 years ago #

    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/

  2. Prasanna SP
    Member
    Posted 2 years ago #

    Mark said that the issue will be fixed in the next release. So, waiting for it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Akismet
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.