Opened 3 years ago
Closed 3 years ago
#3444 closed defect (bug) (duplicate)
Invalid SQL query produced for spam deletion
Reported by: | silentz0r | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Extend - Akismet | Keywords: | |
Cc: |
Description
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)
Note: See
TracTickets for help on using
tickets.
Hey @silentz0r,
We're tracking this issue over in #3395
Thanks for reporting it!