Hey Mark,
I’ve been dealing with this issue for months, so I decided to suspend this plugin until a solution is provided. In the meantime, you can clean the scheduled events with this SQL solution:
SELECT hook, args, count(*) FROM wp_actionscheduler_actions WHERE status = 'pending' GROUP BY hook, args HAVING COUNT(*) > 5;
The script above will give you the hook(s) that is causing issues and the count of those entries. What you need to do next is anotate the args value, and based on that value, run the following next:
DELETE FROM
wp_actionscheduler_actions
WHERE status = 'pending' AND args in ('[21780]')
DELETE FROM
wp_actionscheduler_actions
WHERE status = 'complete' AND args in ('[21780]')
NOTE: In my case, the args value was ‘[21780]’, which is the order id value.
And to the MakeWebBetter team, I can see that an update was released a few days ago, but the release notes doesn’t give much info. Was this fixed in this version?
Looking forward to hearing from you,
AlbertoR