• Resolved benoitfouc

    (@benoitfouc)


    Hello, since the last update of woocommerce my cron are stucked in “pending” cause Action Sheduler error. https://i.gyazo.com/a61d7c129e7d458510452d222415f2dd.png

    I see theses errors on the debug file :

    [07-Apr-2020 08:14:07 UTC] PHP Fatal error:  Uncaught InvalidArgumentException: Unidentified action 11 in /.../wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php:495
    Stack trace:
    #0 /.../wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php(482): ActionScheduler_wpPostStore->get_date_gmt('11')
    #1 /.../wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(274): ActionScheduler_wpPostStore->get_date('11')
    #2 /.../wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_wcSystemStatus.php(78): ActionScheduler_HybridStore->get_date('11')
    #3 /.../wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_wcSystemStatus.php(52): ActionScheduler_wcSystemStatus->get_action_status_date('complete', 'oldest')
    #4 /home/natureet in /.../wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php on line 495
    
    
    • This topic was modified 4 years, 7 months ago by benoitfouc.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support con

    (@conschneider)

    Engineer

    Hi there,

    > I see theses errors on the debug file :

    I can see a similar case here: https://github.com/woocommerce/action-scheduler/issues/486
    Which WooCommerce version are you running?

    Kind regards,

    Thread Starter benoitfouc

    (@benoitfouc)

    Oh nice ! I’ve read the similar case and deleted all the wp_actionscheduler_ tables in the database.

    Force WooCommerce to update the tables and it work now !

    Thanks

    Good morning @benoitfouc

    I am experiencing what looks to be the same issue. Can I ask if you did anything else after deleting the actionschedular tables?

    I am trying to establish if after deleting the tables I need to perform other actions for WooCommerce to recreate them. Or does WooCommerce simply recreate them automatically?

    Many thanks

    Steve.

    Thread Starter benoitfouc

    (@benoitfouc)

    Good morning @stepfaul,
    yes after delete tables directly in database i was disable and enable WooCommerce extension.
    Go to Status, Tools and Force update database.

    And that work for me

    @benoitfouc Great, thanks for replying so quickly!

    This looks to have worked as things were a bit of a mess after the DB upgrade.

    Stay safe and thank you.

    • This reply was modified 4 years, 7 months ago by stepfaul.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Action Scheduler migration in progress. The list of scheduled actions may be inc’ is closed to new replies.