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, 2022. It is now read-only.
During the migration process I am getting a Fatal error;
Fatal error: Call to a member function get_data_store() on boolean in /Users/zscott/httpdocs/zanerobe.local/wp-content/plugins/woocommerce-custom-orders-table-1.0.0-beta.3/includes/class-woocommerce-custom-orders-table-cli.php on line 96
I have tracked the problem down to the call to wc_get_order() in WooCommerce_Custom_Orders_Table_CLI::migrate().
If an there is an error with an order, wc_get_order() will return false, an unchecked condition. In my particular case it is failing because the order has an invalid email address (its an old order so I'm not suprised).
The text was updated successfully, but these errors were encountered:
zacscott
pushed a commit
to zacscott/woocommerce-custom-orders-table
that referenced
this issue
Feb 14, 2018
During the migration process I am getting a Fatal error;
Fatal error: Call to a member function get_data_store() on boolean in /Users/zscott/httpdocs/zanerobe.local/wp-content/plugins/woocommerce-custom-orders-table-1.0.0-beta.3/includes/class-woocommerce-custom-orders-table-cli.php on line 96
I have tracked the problem down to the call to
wc_get_order()
inWooCommerce_Custom_Orders_Table_CLI::migrate()
.If an there is an error with an order,
wc_get_order()
will return false, an unchecked condition. In my particular case it is failing because the order has an invalid email address (its an old order so I'm not suprised).The text was updated successfully, but these errors were encountered: