Skip to:

Opened 2 years ago

Closed 2 years ago

#3444 closed defect (bug) (duplicate)

Invalid SQL query produced for spam deletion

Reported by: silentz0r's profile silentz0r Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Extend - Akismet Keywords:


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

Change History (1)

#1 @dd32
2 years ago

  • Component changed from General to Extend - Akismet
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hey @silentz0r,

We're tracking this issue over in #3395

Thanks for reporting it!

Note: See TracTickets for help on using tickets.