Support » Plugin: WooCommerce » Fatal error: Uncaught RuntimeException

  • We have a situation here .website works fine but in admin ens we have issue

    WooCommerce database update required

    WooCommerce has been updated! To keep things running smoothly, we have to update your database to the newest version. The database update process runs in the background and may take a little while, so please be patient. Advanced users can alternatively update via WP CLI.

    Update WooCommerce Database

    if we update we get error.

    Fatal error: Uncaught RuntimeException: Error saving action: Unable to save action. in C:\wamp\www\wordpress\wp-content\plugins\woocommerce\includes\libraries\action-scheduler\classes\ActionScheduler_wpPostStore.php on line 33
    ( ! ) RuntimeException: Error saving action: Unable to save action. in C:\wamp\www\wordpress\wp-content\plugins\woocommerce\includes\libraries\action-scheduler\classes\ActionScheduler_wpPostStore.php on line 33

    All plugins are disabled .theme and woocommerce updated to latest version

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Seems like you are getting a server time out.
    Check your server settings:
    PHP 7.2 or higher
    MySQL Version 5.6 or greater/ Maria DB 10.0 or greater
    WP Memory Limit 128MB or greater
    HTTPS
    Optional:
    CURL or fsockopen support
    SOAP support

    for avoiding server timeouts it is you can update your database via WPCLI and the following command:
    wp wc update

    Thread Starter Eugene.chint

    (@eugenechint)

    @braehler
    php 7.2.4
    Apache 2.4.33
    mysql 5.7.21
    WP Memory Limit 512MB

    HTTPS same issue on live server too with HTTPS

    not resolved

    Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    Please share a copy of the following:

    • The system status report as found under **WooCommerce > System Status** (for the live site)
    • Any fatal error logs found under **WooCommerce > System Status > Logs**

    Thanks!

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Thread Starter Eugene.chint

    (@eugenechint)

    Sorry got busy but my problem still remains same

    2019-09-07T20:27:08+00:00 CRITICAL Uncaught RuntimeException: Error saving action: Unable to save action. in C:\wamp\www\wordpress\wp-content\plugins\woocommerce\includes\libraries\action-scheduler\classes\ActionScheduler_wpPostStore.php:33
    Stack trace:
    #0 C:\wamp\www\wordpress\wp-content\plugins\woocommerce\includes\libraries\action-scheduler\classes\ActionScheduler_ActionFactory.php(109): ActionScheduler_wpPostStore->save_action(Object(ActionScheduler_Action))
    #1 C:\wamp\www\wordpress\wp-content\plugins\woocommerce\includes\libraries\action-scheduler\classes\ActionScheduler_ActionFactory.php(59): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action))
    #2 C:\wamp\www\wordpress\wp-content\plugins\woocommerce\includes\libraries\action-scheduler\functions.php(18): ActionScheduler_ActionFactory->single(‘woocommerce_run…’, Array, 1567888028, ‘woocommerce-db-…’)
    #3 C:\wamp\www\wordpress\wp-content\plugins\woocommerce\includes\queue\class-wc-action-queue.php(44): as_schedule_single_action(1567888028, ‘woocommerce_run…’, Array, ‘wo in C:\wamp\www\wordpress\wp-content\plugins\woocommerce\includes\libraries\action-scheduler\classes\ActionScheduler_wpPostStore.php on line 33

    2019-09-07T20:34:15+00:00 CRITICAL Uncaught RuntimeException: Error saving action: Unable to save action. in C:\wamp\www\wordpress\wp-content\plugins\woocommerce\includes\libraries\action-scheduler\classes\ActionScheduler_wpPostStore.php:33
    Stack trace:
    #0 C:\wamp\www\wordpress\wp-content\plugins\woocommerce\includes\libraries\action-scheduler\classes\ActionScheduler_ActionFactory.php(109): ActionScheduler_wpPostStore->save_action(Object(ActionScheduler_Action))
    #1 C:\wamp\www\wordpress\wp-content\plugins\woocommerce\includes\libraries\action-scheduler\classes\ActionScheduler_ActionFactory.php(59): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action))
    #2 C:\wamp\www\wordpress\wp-content\plugins\woocommerce\includes\libraries\action-scheduler\functions.php(18): ActionScheduler_ActionFactory->single(‘woocommerce_run…’, Array, 1567888455, ‘woocommerce-db-…’)
    #3 C:\wamp\www\wordpress\wp-content\plugins\woocommerce\includes\queue\class-wc-action-queue.php(44): as_schedule_single_action(1567888455, ‘woocommerce_run…’, Array, ‘wo in C:\wamp\www\wordpress\wp-content\plugins\woocommerce\includes\libraries\action-scheduler\classes\ActionScheduler_wpPostStore.php on line 33

    Thread Starter Eugene.chint

    (@eugenechint)

    i uninstalled all plugins reinstalled woocommerce result none …
    deleted wpcache plugin and files.
    deactivated child theme storefront

    • This reply was modified 3 years, 8 months ago by Eugene.chint.
    Jesse Pearson (a11n)

    (@jessepearson)

    Automattic Happiness Engineer

    @eugenechint If you to go WooCommerce > Status > Scheduled Actions, do you see actions listed there, or is an error listed?

    I’m having the same error when i visit admin pages like Woocommerce Orders & Products.
    This is after I upgraded my woo database.

    I’ve disable ALL plugins except Woocommerce and reverted theme to the default Twenty Nineteen.

    I’m using a multisite, not sure if that is an issue. Kindly help asap.

    2019-11-01T06:24:10+00:00 CRITICAL Uncaught RuntimeException: Error saving action: Unable to save action. in /home/myserver/public_html/mydomain.com/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_wpPostStore.php:33
    Stack trace:
    #0 /home/myserver/public_html/mydomain.com/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_ActionFactory.php(109): ActionScheduler_wpPostStore->save_action(Object(ActionScheduler_Action))
    #1 /home/myserver/public_html/mydomain.com/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_ActionFactory.php(59): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action))
    #2 /home/myserver/public_html/mydomain.com/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/functions.php(18): ActionScheduler_ActionFactory->single(‘woocommerce_upd…’, Array, 1572589450, ”)
    #3 /home/myserver/public_html/mydomain.com/wp-content/plugins/woocommerce/includes/queue/class-wc-action-queue.php(44) in /home/myserver/public_html/mydomain.com/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_wpPostStore.php on line 33

    When I go to the Scheduled Actions tab, at first it said 3 errors, 16 pending, but the tables are empty. Could it be some data corruption here? Is there a way to flush all these scheduled action entries?

    But when i go to that tab now, it shows a different error:

    Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 16777224 bytes) in /home/myserver/public_html/mydomain.com/wp-includes/comment.php on line 2997

    Not sure what’s going on..

    Plugin Support Rynald0s.a11n

    (@rynald0s)

    Automattic Happiness Engineer

    Hi @jeffreytay!

    That error is related to your hosting package and you will need to increase the amount of RAM that is allocated to your site.

    You can either ask your host to increase the limits, or increase is yourself following the guide below:

    https://docs.woothemes.com/document/increasing-the-wordpress-memory-limit/

    Cheers!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Fatal error: Uncaught RuntimeException’ is closed to new replies.