Early this AM our site stopped showing order data (total orders, gross sales, etc), in the analytics tab. Orders are coming through per usual throughout the day, but analytics is not updating to reflect the new orders.
I noticed in woocommerce – scheduled actions-, that all of the missing orders are showing as “pending actions”. The problem is they are not automatically running the actions per usual. I clicked “run” on about ten of them, and they almost instantaneously ran the action, and it was reflected in the analytics numbers.
Can anyone help me understand why these actions are not running automatically? And if theres a better solution than clicking “run” manually on over 300 orders/actions?
[ad_2]
Have you tried running wp-cron manually?
[https://wordpress.stackexchange.com/questions/199725/triggering-cron-by-calling-wp-cron-php-on-the-command-line-rather-than-with-wget](https://wordpress.stackexchange.com/questions/199725/triggering-cron-by-calling-wp-cron-php-on-the-command-line-rather-than-with-wget)
Also, I’d [enable logging](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/), and see what that throws up. If there’s a job getting stuck in wp-cron, then it’ll just keep trying it until you manually flush the queue. If you can find out what’s causing it to get stuck, then you can find a way of fixing it.