Out of Synch Errors
-
Hello Woo/Automatic,
first of all thank you for everything and for helping out.
We use WooCommerce on several websites and, in the end, we always reach the goal!
Lately we’re getting lots of Database Errors, all related to “Out of Synch”. And yesterday we reached a point where every few minutes the “Impossible to Enstablish Database Connection Screen” happened randomly, making the website unusable. This because tons of error where killing the DB and the Server.
We did try yesterday night for 7h (we can’t do when Stores are open), and we tested WooCommerce without any plugin. The error in the log keeps showing them. If we also add WooPayments, this double up. Also, the Orders HPOS always ask to Synch new ones.
We use latest version of WooCommerce (and WooPayments).
Things We Did:
– Repair Action Scheduler Plugin > But FAILED; it says talbe was obsolete.
– Repaired/Optimized DB.
– Fresh reinstalled WooCommerce, (and WooPayments in a second istance).
– Disabled every possible plugin.
Most Errors comes from:
– BatchProcessingController
– actionscheduler
Any idea how we can fix it, or at least reduce them so our site won’t crash / use tons of resourses?
Thank you in advance for the help![19-Jul-2024 09:04:36 UTC] WordPress database error Commands out of sync; you can't run this command now for query SELECT a.action_id FROM MZNSS_actionscheduler_actions a WHERE 1=1 AND a.hook='wc_schedule_pending_batch_processes' AND a.status IN ('in-progress', 'pending') LIMIT 0, 1 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\WooCommerce\Internal\BatchProcessing\BatchProcessingController->Automattic\WooCommerce\Internal\BatchProcessing{closure}, Automattic\WooCommerce\Internal\BatchProcessing\BatchProcessingController->remove_or_retry_failed_processors, call_user_func, as_has_scheduled_action, ActionScheduler_Store->query_action, ActionScheduler_DBStore->query_actions
[19-Jul-2024 09:04:36 UTC] WordPress database error Commands out of sync; you can't run this command now for query SELECT option_value FROM MZNSS_options WHERE option_name = 'wc_pending_batch_processes' LIMIT 1 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\WooCommerce\Internal\BatchProcessing\BatchProcessingController->Automattic\WooCommerce\Internal\BatchProcessing\{closure}, Automattic\WooCommerce\Internal\BatchProcessing\BatchProcessingController->remove_or_retry_failed_processors, Automattic\WooCommerce\Internal\BatchProcessing\BatchProcessingController->get_enqueued_processors, get_option
[19-Jul-2024 09:04:36 UTC] WordPress database error Commands out of sync; you can't run this command now for query SELECT autoload FROM MZNSS_options WHERE option_name = '_transient_timeout_woocommerce_blocks_asset_api_script_data_ssl' LIMIT 1 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\WooCommerce\Blocks\Assets\Api->update_script_data_cache, set_transient, update_option
[19-Jul-2024 09:04:36 UTC] WordPress database error Commands out of sync; you can't run this command now for query SHOW FULL COLUMNS FROMMZNSS_options
made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\WooCommerce\Blocks\Assets\Api->update_script_data_cache, set_transient, update_option
[19-Jul-2024 09:04:36 UTC] WordPress database error Commands out of sync; you can't run this command now for query SHOW FULL COLUMNS FROMMZNSS_woocommerce_sessions
made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Session_Handler->save_data
[19-Jul-2024 09:04:36 UTC] WordPress database error Commands out of sync; you can't run this command now for query SHOW FULL COLUMNS FROMMZNSS_woocommerce_sessions
made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Session_Handler->save_data, WC_Session_Handler->delete_session
[9-Jul-2024 09:04:43 UTC] WordPress database error Commands out of sync; you can't run this command now for query INSERT INTO MZNSS_woocommerce_sessions (session_key
,session_value
,session_expiry
) VALUES ('t_30f545cb9eb9905b9aeba7d509a57b', 'a:7:{s:4:\"cart\";s:6:\"a:0:{}\";s:11:\"cart_totals\";s:367:\"a:15:{s:8:\"subtotal\";i:0;s:12:\"subtotal_tax\";i:0;s:14:\"shipping_total\";i:0;s:12:\"shipping_tax\";i:0;s:14:\"shipping_taxes\";a:0:{}s:14:\"discount_total\";i:0;s:12:\"discount_tax\";i:0;s:19:\"cart_contents_total\";i:0;s:17:\"cart_contents_tax\";i:0;s:19:\"cart_contents_taxes\";a:0:{}s:9:\"fee_total\";i:0;s:7:\"fee_tax\";i:0;s:9:\"fee_taxes\";a:0:{}s:5:\"total\";i:0;s:9:\"total_tax\";i:0;}\";s:15:\"applied_coupons\";s:6:\"a:0:{}\";s:22:\"coupon_discount_totals\";s:6:\"a:0:{}\";s:26:\"coupon_discount_tax_totals\";s:6:\"a:0:{}\";s:21:\"removed_cart_contents\";s:6:\"a:0:{}\";s:8:\"customer\";s:742:\"a:28:{s:2:\"id\";s:1:\"0\";s:13:\"date_modified\";s:0:\"\";s:10:\"first_name\";s:0:\"\";s:9:\"last_name\";s:0:\"\";s:7:\"company\";s:0:\"\";s:5:\"phone\";s:0:\"\";s:5:\"email\";s:0:\"\";s:7:\"address\";s:0:\"\";s:9:\"address_1\";s:0:\"\";s:9:\"address_2\";s:0:\"\";s:4:\"city\";s:0:\"\";s:5:\"state\";s:2:\"MI\";s:8:\"postcode\";s:0:\"\";s:7:\"country\";s:2:\"IT\";s:19:\"shipping_first_name\";s:0:\"\";s:18:\"shipping_last_name\";s:0:\"\";s:16:\"shipping_company\";s:0:\"\";s:14:\"shipping_phone\";s:0:\"\";s:16:\"shipping_address\";s:0:\"\";s:18:\"shipping_address_1\";s:0:\"\";s:18:\"shipping_address_2\";s:0:\"\";s:13:\"shipping_city\";s:0:\"\";s:14:\"shipping_state\";s:2:\"MI\";s:17:\"shipping_postcode\";s:0:\"\";s:16:\"shipping_country\";s:2:\"IT\";s:13:\"is_vat_exempt\";s:0:\"\";s:19:\"calculated_shipping\";s:0:\"\";s:9:\"meta_data\";a:0:{}}\";}', 1721552675)
ON DUPLICATE KEY UPDATEsession_value
= VALUES(session_value
),session_expiry
= VALUES(session_expiry
) made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Session_Handler->save_data
- You must be logged in to reply to this topic.