Deleting old log entries is broken
-
Great and simple plugin! But my PHP error log is full of these:
[18-Oct-2024 20:08:03 UTC] WordPress database error Unknown column 'time <' in 'where clause' for query DELETE FROM
wp_test_email_logs
WHEREtime <
= '2024-09-18' made by do_action_ref_array('wp_test_email_clear_logs'), WP_Hook->do_action, WP_Hook->apply_filters, wp_test_email_clear_old_logs
[19-Oct-2024 20:00:15 UTC] WordPress database error Unknown column 'time <' in 'where clause' for query DELETE FROMwp_test_email_logs
WHEREtime <
= '2024-09-19' made by do_action_ref_array('wp_test_email_clear_logs'), WP_Hook->do_action, WP_Hook->apply_filters, wp_test_email_clear_old_logs
[20-Oct-2024 20:04:24 UTC] WordPress database error Unknown column 'time <' in 'where clause' for query DELETE FROMwp_test_email_logs
WHEREtime <
= '2024-09-20' made by do_action_ref_array('wp_test_email_clear_logs'), WP_Hook->do_action, WP_Hook->apply_filters, wp_test_email_clear_old_logsIt seems that the code that deletes old logs does not work as intended.
- You must be logged in to reply to this topic.