Support » Plugin: Akismet Spam Protection » Invalid SQL query produced for spam deletion

  • Resolved silentz0r

    (@silentz0r)


    Akismet’s “delete_old_spam” action is producing a query with an invalid column “post_id” for the table “wp_posts”. The column is named “ID”.

    Example error output:

    [24-Nov-2021 05:43:20 UTC] WordPress database error Unknown column 'post_id' in 'where clause' for query DELETE FROM wp_posts WHERE post_id IN ( '1', '2', '3' ) made by do_action_ref_array('akismet_scheduled_delete'), WP_Hook->do_action, WP_Hook->apply_filters, BBP_Akismet->delete_old_spam

    Not sure if I can open a ticket somewhere, so letting you guys know.

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Invalid SQL query produced for spam deletion’ is closed to new replies.