• Resolved BradShoemaker

    (@bradshoemaker)


    I am having issues with updating the WooCommerce database. The site I moved over for a client was in bad shape to begin with. It was still using WooCommerce 1.6.4

    With that stated, I thought I had updated everything properly, but now I am receiving an error trying to finish the last few pieces, namely get the database updated.

    Currently I just have Woocommerce active and the Storefront theme to make sure it isn’t anything else.

    Here is what I receive:

    Fatal error: Uncaught RuntimeException: Error saving action: Unable to save action. in /wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_wpPostStore.php:33 Stack trace: #0 /wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_ActionFactory.php(109): ActionScheduler_wpPostStore->save_action(Object(ActionScheduler_Action)) #1 /wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_ActionFactory.php(59): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action)) #2 /wp-content/plugins/woocommerce/includes/libraries/action-scheduler/functions.php(18): ActionScheduler_ActionFactory->single(‘woocommerce_run…’, Array, 1560365980, ‘woocommerce-db-…’) #3 in /wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_wpPostStore.php on line 33

    • This topic was modified 5 years, 8 months ago by BradShoemaker.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Hi @bradshoemaker!

    You’ve reached out to us a couple of weeks ago and after having had a closer look at the debug.log you gave us, the issue seemed to be due to a server timeout

    With that said, we asked that you please reach out to your host and request they increase the php_value max_execution_time limit

    Alternatively, you could do it by following https://www.wpbeginner.com/wp-tutorials/how-to-fix-fatal-error-maximum-execution-time-exceeded-in-wordpress/

    And, if you’ve tried that with no success, then see if running the update via the command line interface resolves the issue

    You’ll find full instructions for that here https://github.com/woocommerce/woocommerce/wiki/Upgrading-the-database-using-WP-CLI

    Is this something you still need help with or are you good?

    Cheers!

    Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Howdy!

    We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please start a new thread.

    Cheers!

    I have same issue on my WordPress.

    Fatal error: Uncaught RuntimeException: Error saving action: Unable to save action. in /home/billingsfire/public_html/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_wpPostStore.php:33 Stack trace: #0 /home/billingsfire/public_html/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_ActionFactory.php(109): ActionScheduler_wpPostStore->save_action(Object(ActionScheduler_Action)) #1 /home/billingsfire/public_html/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_ActionFactory.php(59): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action)) #2 /home/billingsfire/public_html/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/functions.php(18): ActionScheduler_ActionFactory->single(‘woocommerce_run…’, Array, 1564716118, ‘woocommerce-db-…’) #3 /home/billingsfire/public_html/wp-content/plugins/woocommerce/includes/queue/class-wc-action-queue.php(44): as_schedule_single_action in /home/billingsfire/public_html/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_wpPostStore.php on line 33
    The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.

    I increased the max_execution_time to 1800 and memory_limit to 1024M.
    But not good.

    im facing same issue with woocommerce how can fix these issue

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Unable to Save Action in ActionScheduler_wpPostStore.php’ is closed to new replies.