Title: Fatal error: Uncaught Exception: Error saving action
Last modified: November 28, 2020

---

# Fatal error: Uncaught Exception: Error saving action

 *  Resolved [PTaubman](https://wordpress.org/support/users/ptaubman/)
 * (@ptaubman)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-exception-error-saving-action/)
 * I have installed this on several other sites without issues. However, on a new
   site, I am getting an error that triggers the critical error screen.
 * Digging in (using the Query Monitor plugin) I see the following – and for what
   it is worth, we are not running WooCommerce on the site (accoutnname used to 
   protect the guilty!):
 * Fatal error: Uncaught Exception: Error saving action: Error saving action: Table‘
   accountname_kNht53EEd.wp8nyG_actionscheduler_actions’ doesn’t exist
    in /home/
   accountname/public_html/wp-content/plugins/wp-mail-smtp/vendor/woocommerce/action-
   scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php on line 44
 * Call stack:
 * ActionScheduler_DBStoreMigrator::save_action()
    wp-content/plugins/wp-mail-smtp/
   vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.
   php:242 ActionScheduler_HybridStore::save_action() wp-content/plugins/wp-mail-
   smtp/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.
   php:177 ActionScheduler_ActionFactory::store() wp-content/plugins/wp-mail-smtp/
   vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php:
   84 ActionScheduler_ActionFactory::single() wp-content/plugins/wp-mail-smtp/vendor/
   woocommerce/action-scheduler/functions.php:36 as_schedule_single_action() wp-
   content/plugins/wp-mail-smtp/vendor/woocommerce/action-scheduler/classes/migration/
   Scheduler.php:89 Action_Scheduler\M\Scheduler::schedule_migration() wp-content/
   plugins/wp-mail-smtp/vendor/woocommerce/action-scheduler/classes/migration/Controller.
   php:99 Action_Scheduler\M\Controller::schedule_migration() wp-includes/class-
   wp-hook.php:287 WP_Hook::apply_filters() wp-includes/class-wp-hook.php:311 WP_Hook::
   do_action() wp-includes/plugin.php:478 do_action() wp-settings.php:568 require_once()
   wp-config.php:58 require_once() wp-load.php:37 require_once() wp-admin/admin.
   php:34 require_once() wp-admin/plugins.php:10

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * (@sanzeeb3)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-exception-error-saving-action/#post-13724564)
 * Hi [@ptaubman](https://wordpress.org/support/users/ptaubman/),
 * The error message suggests that your site is unable to create database tables
   required for the Action Scheduler library that is bundled within the WP Mail 
   SMTP plugin. Please follow this [troubleshooting guide](https://wpmailsmtp.com/docs/how-to-troubleshoot-action-scheduler-issues-wp-mail-smtp-2-1-1/)
   to fix the issue.
 * I hope that helps!
 *  [cindy33](https://wordpress.org/support/users/cindy33/)
 * (@cindy33)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-exception-error-saving-action/#post-13743098)
 * Hi everyone,
 * I’m a beginner about website building. I work on WordPress for 2 months nearly.
 * Today I’ve got this message:
 * Fatal error: Uncaught RuntimeException: Error saving action: Error saving action:
   Database error. in /homepages/42/d373099766/htdocs/Sauvegarde/clickandbuilds/
   SiteWeb0/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/
   classes/migration/ActionScheduler_DBStoreMigrator.php:44 Stack trace: #0 /homepages/
   42/d373099766/htdocs/Sauvegarde/clickandbuilds/SiteWeb0/wp-content/plugins/wpforms-
   lite/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.
   php(242): ActionScheduler_DBStoreMigrator->save_action(Object(ActionScheduler_Action),
   NULL) #1 /homepages/42/d373099766/htdocs/Sauvegarde/clickandbuilds/SiteWeb0/wp-
   content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.
   php(177): ActionScheduler_HybridStore->save_action(Object(ActionScheduler_Action))#
   2 /homepages/42/d373099766/htdocs/Sauvegarde/clickandbuilds/SiteWeb0/wp-content/
   plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.
   php(84): ActionSc in /homepages/42/d373099766/htdocs/Sauvegarde/clickandbuilds/
   SiteWeb0/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/
   classes/migration/ActionScheduler_DBStoreMigrator.php on line 44
 * I can see the homepage and the menu of my boss’s website. But as soon as I plan
   to open one of the pages from menu there is this message appears. I asked ionos
   1&1 for a back up today but it looks like there is a problem with Sydney theme
   that I used for this website.
 * How can I have my pages back please?
    Thanks in advance for your helps guys!
 * Cheers
 *  [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * (@sanzeeb3)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-exception-error-saving-action/#post-13753266)
 * Hi [@cindy33](https://wordpress.org/support/users/cindy33/),
 * The error is likely due to corrupted information in the database. It looks like
   the error is while activating WPForms, but you can follow the same [troubleshooting ](https://wpmailsmtp.com/docs/how-to-troubleshoot-action-scheduler-issues-wp-mail-smtp-2-1-1/)
   documentation to fix the issue. It will restore the missing database information.
 * I hope this helps!
 *  [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * (@sanzeeb3)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-exception-error-saving-action/#post-13790649)
 * Hi [@cindy33](https://wordpress.org/support/users/cindy33/) – We haven’t heard
   from you in about a week, so I’m going to go ahead and mark this ticket resolved.
   If you still have questions, though, please feel welcome to continue the conversation.
 *  [alejandro0](https://wordpress.org/support/users/alejandro0/)
 * (@alejandro0)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-exception-error-saving-action/#post-13940050)
 * Hello [@sanzeeb3](https://wordpress.org/support/users/sanzeeb3/) i have this 
   problem with my page after trying to use the plugin wp-mail-smtp, I am a beginner
   with this and I am using google cloud and bitnami, I do not have a FTP or cPanel
   that help me, this is the error that shows in the last part of my page:
    Fatal
   error: Uncaught RuntimeException: Error saving action: Error saving action: Table‘
   bitnami_wordpress.wp_actionscheduler_actions’ doesn’t exist in /opt/bitnami/apps/
   wordpress/htdocs/wp-content/plugins/wp-mail-smtp/vendor/woocommerce/action-scheduler/
   classes/migration/ActionScheduler_DBStoreMigrator.php:44 Stack trace: #0 /opt/
   bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-mail-smtp/vendor/woocommerce/
   action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(242): ActionScheduler_DBStoreMigrator-
   >save_action() #1 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-mail-
   smtp/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.
   php(177): ActionScheduler_HybridStore->save_action() #2 /opt/bitnami/apps/wordpress/
   htdocs/wp-content/plugins/wp-mail-smtp/vendor/woocommerce/action-scheduler/classes/
   ActionScheduler_ActionFactory.php(84): ActionScheduler_ActionFactory->store()#
   3 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-mail-smtp/vendor/woocommerce/
   action-scheduler/functi in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/
   wp-mail-smtp/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.
   php on line 44
 * I do not know if i have to write something or how to deactivate the plugin with
   ssh, the page is this [https://www.mangooglamping.com/](https://www.mangooglamping.com/)
   and in there shows the error here are the other plugins i have installed and 
   the page work fines before
    backwpup, elementor, https-redirection, motopress-
   hotel-booking-lite, plugins-garbage-collector, wp-sweep, contact-form-7, essential-
   addons-for-elementor-lite index.php, mphb-elementor wp-mail-smtp, Thanks for 
   the help.
 *  [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * (@sanzeeb3)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-exception-error-saving-action/#post-13957573)
 * Hi [@alejandro0](https://wordpress.org/support/users/alejandro0/),
 * Please follow this documentation on the [troubleshooting guide](https://wpmailsmtp.com/docs/how-to-troubleshoot-action-scheduler-issues-wp-mail-smtp-2-1-1/).
   You should have access to FTP if the site crashes again during troubleshooting.
   So, the recommended step is to contact your web host provider, ask them for FTP
   access and start troubleshooting.
 * I hope this helps!
 *  [RodrigoZid](https://wordpress.org/support/users/rodrigozid/)
 * (@rodrigozid)
 * [5 years ago](https://wordpress.org/support/topic/fatal-error-uncaught-exception-error-saving-action/#post-14493005)
 * When follow the troubleshooting guide and active the “action sheduler” plugin
   the same error appears. It is impossible to resolve this issue.
 * Could you help me?
 * This is my website: [https://tododineroonline.com/](https://tododineroonline.com/)
    -  This reply was modified 5 years ago by [RodrigoZid](https://wordpress.org/support/users/rodrigozid/).
    -  This reply was modified 5 years ago by [RodrigoZid](https://wordpress.org/support/users/rodrigozid/).

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Fatal error: Uncaught Exception: Error saving action’ is closed to new
replies.

 * ![](https://ps.w.org/wp-mail-smtp/assets/icon-256x256.png?rev=1755440)
 * [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin](https://wordpress.org/plugins/wp-mail-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-smtp/reviews/)

 * 7 replies
 * 5 participants
 * Last reply from: [RodrigoZid](https://wordpress.org/support/users/rodrigozid/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/fatal-error-uncaught-exception-error-saving-action/#post-14493005)
 * Status: resolved