HPOS doesn’t complete order sync
-
Hello,
we are restarting our adoption of HPOS after some difficulties with plug-ins. Our English web site synced order and has HPOS rolling now (although in compatibility mode to start with). The French version of our site (on a different subdomain) won’t however finish syncing orders. The scheduled action to do the sync is failing with the following error:
wc_run_batch_processéchoué
0 => 'Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\DataSynchronizer'
Pas de répétition2023-10-25 09:10:50 +0000
(Il y a 6 heures 35 minutes)- 2023-10-25 09:10:50 +0000
action créée - 2023-10-25 09:10:50 +0000
action lancée via WP Cron - 2023-10-25 09:10:50 +0000
échec de l’action via WP Cron : get_class(): Argument #1 ($object) must be of type object, null given
The English and French sites are pretty much identical although the French site has LocoTranslate but lacks MultiCurrency. WP and WooCommerce are at identical across the two sites as 6.3.2 and 8.2.1. I welcome any suggestions as to what to do next to debug.
I had a look at the database tables and sync has correctly updated all but the
wp_wc_orders_meta
table which is did not complete. I am thinking therefore that the best path forward is to delete HPOS tables using phpMyAdmin which would then allow HPOS to recreate the tables from scratch. Is this a good path forward? I gather that I would need to delete the following four tables:wp_wc_orders
wp_wc_order_addresses
wp_wc_order_operational_data
wp_we_order_metaPlease advise your opinion.
- The topic ‘HPOS doesn’t complete order sync’ is closed to new replies.