WordPress.org

Ready to get started?Download WordPress

Forums

Akismet
wpdb->prepare issue (2 posts)

  1. Joost de Valk
    Member
    Posted 1 year 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 1 year 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

About this Topic

Tags

No tags yet.