Symptom

BoltAudit flags large numbers of failed rows in the wp_actionscheduler_actions table, often hundreds of MB of dead data in wp_actionscheduler_logs. The WooCommerce Tools → System status → Scheduled Actions screen also shows the count under the Failed tab.

Impact

  • Slow load on the WooCommerce status pages (the in-admin scheduler view scans the whole table).
  • Backup size grows for no operational reason.
  • Heavier database dumps and longer restore times.
  • Adds noise to legitimate scheduled-task troubleshooting.

Manual fix

If you prefer running this yourself, the WP-CLI command is:

CODE0

Or via SQL (back up first):

CODE1

Apply Fix

This issue is one-click in the BoltAudit dashboard. The fix removes failed actions older than 30 days and their logs in a single transactional batch, leaving recent failures intact so you can still investigate them.

When not to apply

If failures are still actively occurring (the count is climbing during the audit), find the root cause first — clearing the table won't stop the underlying error.

Run BoltAudit on your site

Free plugin · 1 site · 3 audits per month · no credit card.

See plans →