Site Crashed with “Critical Error” when deleting Woocommerce Admin Plugin
-
Long story short…
When in Status/Tools I got a notification that the old version of Woocommerce Admin should be deleted. Upon clicking the button to delete it I received the following message:
“There has been a critical error on your website. Please check your site admin email inbox for instructions.”
Ever since I cannot access the front-end or back-end of my site.
I attempted to reactivate it from my functions.php file but it didn’t help.
Any advice would be greatly appreciated!
Long story long…
Since updating to WC 4.4.0 I have been getting a prompt to update the database. When I do I get the “critical error” message, but I am able to navigate back to the site without issue. Additionally, I have been getting daily email notifications of an issue with Woocommerce that contains the following info:
Error Details
=============
An error of type E_ERROR was caused in line 75 of the file /home/branded/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php. Error message: Uncaught RuntimeException: Error saving action: Duplicate entry ‘8919’ for key ‘PRIMARY’ in /home/branded/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:75
Stack trace:
#0 /home/branded/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(177): ActionScheduler_DBStore->save_action(Object(ActionScheduler_Action))
#1 /home/branded/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(84): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action))
#2 /home/branded/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/functions.php(36): ActionScheduler_ActionFactory->single(‘woocommerce_run…’, Array, 1597856983, ‘woocommerce-db-…’)
#3 /home/branded/public_html/wp-content/plugins/woocommerce/includes/queue/class-wc-action-queue.php(44): as_schedule_single_action(1597856983, ‘woocommerce_run…’, Array, ‘To remedy it I read that using the Action Scheduler plugin should fix the issue. However, no luck. I then noticed an update for WC 4.4.1 was available and I figured this would do the trick. So I updated, and still nothing.
This is when I went to status/tools and saw the message prompting me to delete the old version of Woocommerce Admin… And here we are.
The page I need help with: [log in to see the link]
- The topic ‘Site Crashed with “Critical Error” when deleting Woocommerce Admin Plugin’ is closed to new replies.