Action Scheduler causes critical error in WC 4.0
-
We run WC 4.0 on a staging site to make sure everything works fine, but hey, of course we didn’t try every single of the 10 million functions since this is pretty impossible…
24 hours after updating, it still says “WooCommerce is updating the database in the background.” When checking all it says under the tab “Scheduled Actions” is “There has been a critical error on your website.”
This is the information sent to admin:
WordPress version 5.3.2
Current theme: Envo Storefront (version 1.0.3) Current plugin: WooCommerce (version 4.0.0) PHP version 7.2.28Error Details
=============
An error of type E_ERROR was caused in line 740 of the file /home/univer73/public_html/universalsolder/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php. Error message: Uncaught InvalidArgumentException: Invalid action ID. No status found. in /home/univer73/public_html/universalsolder/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php:740
Stack trace:
#0 /home/univer73/public_html/universalsolder/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(326): ActionScheduler_wpPostStore->get_status(‘778’)
#1 /home/univer73/public_html/universalsolder/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ListTable.php(533): ActionScheduler_HybridStore->get_status(‘778’)
#2 /home/univer73/public_html/universalsolder/wp-content/plugins/woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_ListTable.php(659): ActionScheduler_ListTable->prepare_items()
#3 /home/univer73/public_html/universalsolder/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_AdminView.php(94): ActionScheduler_AbstractHow can this be fixed?
Do we need to roll back to the last WC version and waiting for the next update of WC 4.0?
Thank you.
The page I need help with: [log in to see the link]
- The topic ‘Action Scheduler causes critical error in WC 4.0’ is closed to new replies.