Sync Doesn’t Work
-
The product sync on my site is not working. Getting errors such as this in the log…
[01-May-2025 14:20:53 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT * FROM wp_posts WHERE ID = 1876 LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Post_Data::do_deferred_product_sync, array_walk, WC_Post_Data::deferred_product_sync, WC_Product_Variable::sync, WC_Product->save, WC_Data_Store->update, WC_Product_Data_Store_CPT->update, WC_Product_Data_Store_CPT->update_post_meta, WC_Data_Store_WP->update_or_delete_post_meta, update_post_meta, wp_is_post_revision, wp_get_post_revision, get_post, WP_Post::get_instance
[01-May-2025 14:23:51 UTC] PHP Warning: foreach() argument must be of type array|object, null given in /home/example/public_html/wp-content/plugins/woocommerce-square/includes/Sync/Product_Import.php on line 730
How do I fix this so that the sync actually works?
The topic ‘Sync Doesn’t Work’ is closed to new replies.