You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 15, 2018. It is now read-only.
Just posting to say that I found a solution to this issue today.
WooCommerce custom post statuses have not yet been registered when the _index_helper function in wp-cli.php executes the query. Consequently, when attempting to index shop_order post types, none are found. My solution was to hook ep_wp_cli_pre_index and call WC_Post_types::register_post_status().
Just posting to say that I found a solution to this issue today.
WooCommerce custom post statuses have not yet been registered when the _index_helper function in wp-cli.php executes the query. Consequently, when attempting to index shop_order post types, none are found. My solution was to hook ep_wp_cli_pre_index and call WC_Post_types::register_post_status().
Posted Here: https://wordpress.org/support/topic/multi-site-command-line-to-sync-single-site?replies=2
The text was updated successfully, but these errors were encountered: