Line 332 of admin.php needs to be changed, the
$wpdb->preparestatement 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
- The topic ‘wpdb->prepare issue’ is closed to new replies.