Fatal error
-
Hi there,
Just wanted to let you know I’ve might found the reason people are getting the following error (taken from another post here):
Fatal error: Uncaught RuntimeException: Error saving action: Error saving action: Table 'squisitodev.wp_actionscheduler_actions' doesn't exist in /var/www/html/squisitodev.com/public/wp-content/plugins/wp-mail-smtp/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44 Stack trace: #0 /var/www/html/squisitodev.com/public/wp-content/plugins/wp-mail-smtp/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(242): ActionScheduler_DBStoreMigrator->save_action(Object(ActionScheduler_Action), NULL) #1 /var/www/html/squisitodev.com/public/wp-content/plugins/wp-mail-smtp/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(177): ActionScheduler_HybridStore->save_action(Object(ActionScheduler_Action)) #2 /var/www/html/squisitodev.com/public/wp-content/plugins/wp-mail-smtp/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(84): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action)) #3 /var/www/ht in /var/www/html/squisitodev.com/public/wp-content/plugins/wp-mail-smtp/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php on line 44It happened to me too, but when I’ve tried to track my steps back, I remembered I was running WP-Optimize and it advised me to remove tables which according to it, weren’t in use. Well… it seems WP-Optimize advises to remove actionscheduler’s tables. Unfortunately, I allowed it to remove the tables and then I got the same error.
When I’ve reinstalled actionscheduler, the error was gone.
Here’s a screenshot from within WP-Optimize. Maybe you can contact WP-Optimize author and ask him/them to change their advise for these tables…
You’ll see that “WP Mail SMTP” is not mentioned as a plugin using actionscheduler, and as all those that are recognized to use it are not installed on my site, it lets me remove the table (button on the right).
The topic ‘Fatal error’ is closed to new replies.