Title: Fatal error: Uncaught RuntimeException
Last modified: October 4, 2019

---

# Fatal error: Uncaught RuntimeException

 *  Resolved [saraobando](https://wordpress.org/support/users/saraobando/)
 * (@saraobando)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-runtimeexception-2/)
 * I’ve been getting this error for about two weeks now. The shop was set up a couple
   of months ago, and everything was working fine. Now, suddenly this error started.
   According to the Plugins page, WooCommerce is activated, but whenever I click
   on “Orders”, “Products”, or the “Update WooCommerce Database” button, it gives
   me the following”
 * Fatal error: Uncaught RuntimeException: Error saving action: Unable to save action.
   in /home/havenwoo/public_html/havenwoodhouse.com/wp-content/plugins/woocommerce/
   includes/libraries/action-scheduler/classes/ActionScheduler_wpPostStore.php:33
   Stack trace: #0 /home/havenwoo/public_html/havenwoodhouse.com/wp-content/plugins/
   woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_ActionFactory.
   php(109): ActionScheduler_wpPostStore->save_action(Object(ActionScheduler_Action))#
   1 /home/havenwoo/public_html/havenwoodhouse.com/wp-content/plugins/woocommerce/
   includes/libraries/action-scheduler/classes/ActionScheduler_ActionFactory.php(
   59): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action)) #2 /
   home/havenwoo/public_html/havenwoodhouse.com/wp-content/plugins/woocommerce/includes/
   libraries/action-scheduler/functions.php(18): ActionScheduler_ActionFactory->
   single(‘woocommerce_run…’, Array, 1569467792, ‘woocommerce-db-…’) #3 /home/havenwoo/
   public_html/havenwoodhouse.com/wp-content/plugins/woocomme in /home/havenwoo/
   public_html/havenwoodhouse.com/wp-content/plugins/woocommerce/includes/libraries/
   action-scheduler/classes/ActionScheduler_wpPostStore.php on line 33
 * Here is a video showing more details on the situation:
    [https://www.loom.com/share/85571fd02c3c49dca9f1519008ca4915](https://www.loom.com/share/85571fd02c3c49dca9f1519008ca4915)
 * This is the system status report:
 *     ```
       ### WordPress Environment ###
   
       WordPress address (URL): https://havenwoodhouse.com
       Site address (URL): https://havenwoodhouse.com
       WC Version: 3.7.0
       REST API Version: ✔ 1.0.2
       Log Directory Writable: ✔
       WP Version: 5.2.3
       WP Multisite: –
       WP Memory Limit: 768 MB
       WP Debug Mode: –
       WP Cron: ✔
       Language: en_US
       External object cache: –
   
       ### Server Environment ###
   
       Server Info: Apache
       PHP Version: 7.1.30 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version
       PHP Post Max Size: 128 MB
       PHP Time Limit: 120
       PHP Max Input Vars: 3000
       cURL Version: 7.59.0
       OpenSSL/1.0.2r
   
       SUHOSIN Installed: –
       MySQL Version: 5.6.40-84.0-log
       Max Upload Size: 128 MB
       Default Timezone is UTC: ✔
       fsockopen/cURL: ✔
       SoapClient: ✔
       DOMDocument: ✔
       GZip: ✔
       Multibyte String: ✔
       Remote Post: ✔
       Remote Get: ✔
   
       ### Database ###
   
       WC Database Version: 3.6.5
       WC Database Prefix: wptq_
       MaxMind GeoIP Database: ✔
       Total Database Size: 15.85MB
       Database Data Size: 13.70MB
       Database Index Size: 2.15MB
       wptq_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wptq_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wptq_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wptq_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
       wptq_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wptq_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wptq_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
       wptq_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wptq_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wptq_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wptq_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wptq_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wptq_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wptq_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wptq_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wptq_comments: Data: 0.34MB + Index: 0.47MB + Engine InnoDB
       wptq_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wptq_options: Data: 2.05MB + Index: 0.05MB + Engine InnoDB
       wptq_podsrel: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
       wptq_postmeta: Data: 9.25MB + Index: 0.33MB + Engine InnoDB
       wptq_posts: Data: 1.36MB + Index: 0.39MB + Engine InnoDB
       wptq_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wptq_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wptq_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wptq_term_relationships: Data: 0.08MB + Index: 0.05MB + Engine InnoDB
       wptq_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wptq_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wptq_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
       wptq_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wptq_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
       wptq_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wptq_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wptq_yoast_seo_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wptq_yoast_seo_meta: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
   
       ### Security ###
   
       Secure connection (HTTPS): ✔
       Hide errors from visitors: ✔
   
       ### Active Plugins (12) ###
   
       BackWPup: by Inpsyde GmbH – 3.6.10
       Beaver Builder Plugin (Standard Version): by The Beaver Builder Team – 2.2.5.3
       Beaver Themer: by The Beaver Builder Team – 1.2.4.2
       GP Premium: by Tom Usborne – 1.8.3
       Pods Beaver Themer Add-On: by Quasel
       Pods Framework Team – 1.3.2
   
       Pods - Custom Content Types and Fields: by Pods Framework Team – 2.7.15
       SG Optimizer: by SiteGround – 5.3.1
       WooCommerce PayPal Powered by Braintree Gateway: by WooCommerce – 2.2.7 – 2.3.0 is available
       WooCommerce: by Automattic – 3.7.0
       Yoast SEO: by Team Yoast – 12.1
       Smush: by WPMU DEV – 3.2.4
       WPForms Lite: by WPForms – 1.5.5.1
   
       ### Inactive Plugins (2) ###
   
       Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 7.8.2
       WooCommerce Square: by WooCommerce – 2.0.4
   
       ### Settings ###
   
       API Enabled: –
       Force SSL: ✔
       Currency: USD ($)
       Currency Position: left
       Thousand Separator: ,
       Decimal Separator: .
       Number of Decimals: 2
       Taxonomies: Product Types: external (external)
       grouped (grouped)
       simple (simple)
       variable (variable)
   
       Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
       exclude-from-search (exclude-from-search)
       featured (featured)
       outofstock (outofstock)
       rated-1 (rated-1)
       rated-2 (rated-2)
       rated-3 (rated-3)
       rated-4 (rated-4)
       rated-5 (rated-5)
   
       Connected to WooCommerce.com: –
   
       ### WC Pages ###
   
       Shop base: #130 - /shop-page/
       Cart: #39 - /cart/
       Checkout: #40 - /checkout/
       My account: #41 - /my-account/
       Terms and conditions: ❌ Page not set
   
       ### Theme ###
   
       Name: GeneratePress
       Version: 2.3.2
       Author URL: https://tomusborne.com
       Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
       WooCommerce Support: ✔
   
       ### Templates ###
   
       Overrides: –
   
       ### Braintree (Credit Card) ###
   
       Environment: Production
       Tokenization Enabled: –
       Debug Mode: Off
   
       ### Braintree (PayPal) ###
   
       Environment: Production
       Tokenization Enabled: –
       Debug Mode: Off
   
       ### Action Scheduler ###
   
       Complete: 457
       Oldest: 2019-09-03 01:40:37 +0000
       Newest: 2019-09-23 16:24:36 +0000
   
       Pending: 0
       Oldest: –
       Newest: –
   
       Canceled: 0
       Oldest: –
       Newest: –
   
       In-progress: 0
       Oldest: –
       Newest: –
   
       Failed: 0
       Oldest: –
       Newest: –
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-uncaught-runtimeexception-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Joey – a11n](https://wordpress.org/support/users/jricketts4/)
 * (@jricketts4)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-runtimeexception-2/#post-11999157)
 * Hi Sara,
 * I’m sorry you’re seeing this error. This is typically related to a bogged down
   action scheduler, but I see you currently have 0 pending scheduled actions, so
   it seems to be slightly different.
 * Can you send us a screenshot of what occurs when you try accessing this page?:
   [http://havenwoodhouse.com/wp-admin/upgrade.php](http://havenwoodhouse.com/wp-admin/upgrade.php)
 * You might also try conflict testing to see if a plugin is making the process 
   go too slow to update.
 * The best way to determine if the issue is being caused by a theme and/or plugin
   is to:
    1. Temporarily switch your theme to the Storefront or TwentySeventeen theme.
    2. Try to reproduce the problem: If the problem is resolved, it is a theme conflict.
       If not, continue to the next step.
    3. Temporarily deactivate all plugins except WooCommerce. You can do this manually
       or use a plugin to help (see below for tools).
    4. Try to reproduce the problem again. If the problem is resolved, it is a plugin
       conflict. To figure out which plugin is causing the problem, continue to the
       next step.
    5. Reactivate your other plugins one by one, testing after each, until you find
       the one causing conflict
 * For more detailed instructions, check out How to test for plugin and theme conflicts:
   [https://docs.woocommerce.com/document/how-to-test-for-conflicts/](https://docs.woocommerce.com/document/how-to-test-for-conflicts/)
 * Let us know how that goes!
 * Thank you,
    Joey
 *  Thread Starter [saraobando](https://wordpress.org/support/users/saraobando/)
 * (@saraobando)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-runtimeexception-2/#post-11999787)
 * Hey Joey, thank you for the quick reply!
 * Here is the screenshot from the Upgrade page:
    [https://drive.google.com/file/d/1i52kyxsjdfZ0YG42yPRrrZd5uYz8IlYq/view?usp=sharing](https://drive.google.com/file/d/1i52kyxsjdfZ0YG42yPRrrZd5uYz8IlYq/view?usp=sharing)
 * I switched to the TwentySeventeen theme, and I deactivated all the plugins except
   for WooCommerce, but sadly the problem didn’t change.
 *  Thread Starter [saraobando](https://wordpress.org/support/users/saraobando/)
 * (@saraobando)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-runtimeexception-2/#post-12029105)
 * Any update on this?
 * Actually, I just logged into the Admin area and installed the new update. After
   updating, I went to update the database, it worked. Then I enabled some of the
   WooCommerce extension plugins that were crashing, one at a time, they worked 
   too. Seems like the new update included the fix, thank you!
    -  This reply was modified 6 years, 7 months ago by [saraobando](https://wordpress.org/support/users/saraobando/).
 *  [dougaitken](https://wordpress.org/support/users/dougaitken/)
 * (@dougaitken)
 * Automattic Happiness Engineer
 * [6 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-runtimeexception-2/#post-12058526)
 * Hi [@saraobando](https://wordpress.org/support/users/saraobando/)
 * > Seems like the new update included the fix, thank you!
 * Fantastic to hear this!
 * I’m going to mark this as resolved – if you have any further questions, you can
   start a new thread.
 * Thanks,

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

The topic ‘Fatal error: Uncaught RuntimeException’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * 4 replies
 * 3 participants
 * Last reply from: [dougaitken](https://wordpress.org/support/users/dougaitken/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-runtimeexception-2/#post-12058526)
 * Status: resolved