• Hello, since update to the last version of WooCommerce i see this warning :
    Action Scheduler migration in progress. The list of scheduled actions may be incomplete.

    The problem is : alls crons are stucked in “pending” ! https://i.gyazo.com/a61d7c129e7d458510452d222415f2dd.png

    In WP debug file i see this error :

    [06-Apr-2020 14:15:10 UTC] PHP Fatal error:  Uncaught InvalidArgumentException: Action 11 non identifiée 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/natur in /.../wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php on line 495
    [07-Apr-2020 07:37:29 UTC] Error checking in buffer: The buffer you checked in was not checked out
    [07-Apr-2020 07:37:42 UTC] WordPress database error Cannot add foreign key constraint for query ALTER TABLE <code>wp_wc_download_log</code>
    					ADD CONSTRAINT <code>fk_wp_wc_download_log_permission_id</code>
    					FOREIGN KEY (<code>permission_id</code>)
    					REFERENCES <code>wp_woocommerce_downloadable_product_permissions</code> (<code>permission_id</code>) ON DELETE CASCADE; made by activate_plugin, do_action('activate_woocommerce/woocommerce.php'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Install::install, WC_Install::create_tables
    

    And a lot of database errors :
    06-Apr-2020 12:51:49 UTC] Erreur de la base de données WordPress Deadlock found when trying to get lock; try restarting transaction pour la requête UPDATE wp_actionscheduler_actions SET claim_id = 0 WHEREclaim_id` = 854941 faite par do_action_ref_array(‘action_scheduler_run_queue’), WP_Hook->do_action, WP_Hook->apply_filters, ActionScheduler_QueueRunner->run, ActionScheduler_QueueRunner->do_batch, ActionScheduler_HybridStore->release_claim, ActionScheduler_DBStore->release_claim
    [06-Apr-2020 14:12:04 UTC] PHP Warning: mysqli_query(): MySQL server has gone away in /…/wp-includes/wp-db.php on line 2024
    [06-Apr-2020 14:12:04 UTC] PHP Warning: mysqli_query(): MySQL server has gone away in /…/wp-includes/wp-db.php on line 2024
    [06-Apr-2020 14:12:04 UTC] PHP Warning: mysqli_query(): MySQL server has gone away in /…/wp-includes/wp-db.php on line 2024
    [06-Apr-2020 14:12:04 UTC] PHP Warning: mysqli_query(): Error reading result set’s header in /…/wp-includes/wp-db.php on line 2024`

    • This topic was modified 4 years, 7 months ago by benoitfouc.
    • This topic was modified 4 years, 7 months ago by benoitfouc.
  • The topic ‘Action Scheduler migration in progress. The list of scheduled actions may be inc’ is closed to new replies.