Importing Orders issue with ID conflicts
-
Hey there!
I am currently using the Order Import Export Plugin w/ the Sequential Order plugin to retain the order numbers. We have a new revamped website and we need to import all the orders from the live site to the staging one, however we’ve come across a problem when importing specifically this error:
Importing Order(ID) conflicts with an existing post.
So I checked similar topics about this and they say that by unchecking the order ID it would fix it, but doing so presents me with another error in the logs:
Uncaught Error: Call to a member function get_meta() on bool in /public/wp-content/plugins/pre-orders-for-woocommerce/src/Checkout.php:67 Additional context{ “error”: { “type”: 1, “file”: “/public/wp-content/plugins/pre-orders-for-woocommerce/src/Checkout.php”, “line”: 67 }, “backtrace”: [ “”, “#0 /public/wp-includes/class-wp-hook.php(324): Woocommerce_Preorders\Checkout->setPreroderStatus(‘completed’, 0, false)”, “#1 /public/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘completed’, Array)”, “#2 /public/wp-content/plugins/woocommerce/includes/class-wc-order.php(323): apply_filters(‘woocommerce_pay…’, ‘completed’, 0, Object(WC_Order))”, “#3 /public/wp-content/plugins/woocommerce/includes/class-wc-order.php(300): WC_Order->maybe_set_date_paid()”, “#4 /public/wp-content/plugins/woocommerce/includes/wc-core-functions.php(105): WC_Order->set_status(‘processing’)”, “#5 /public/wp-content/plugins/order-import-export-for-woocommerce/admin/modules/order/import/import.php(1885): wc_create_order(Array)”, “#6 /public/wp-content/plugins/order-import-export-for-woocommerce/admin/modules/order/import/import.php(80): Wt_Import_Export_For_Woo_Basic_Order_Import->process_item(Array)”, “#7 /public/wp-content/plugins/order-import-export-for-woocommerce/admin/modules/order/order.php(160): Wt_Import_Export_For_Woo_Basic_Order_Import->prepare_data_to_import(Array, Array, 0, true)”, “#8 /public/wp-includes/class-wp-hook.php(324): Wt_Import_Export_For_Woo_Basic_Order->importer_do_import(Array, ‘order’, ‘import’, Array, Array, ‘new’, 0, true)”, “#9 /public/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)”, “#10 /public/wp-content/plugins/order-import-export-for-woocommerce/admin/modules/import/import.php(1023): apply_filters(‘wt_iew_importer…’, Array, ‘order’, ‘import’, Array, Array, ‘new’, 0, true)”, “#11 /public/wp-content/plugins/order-import-export-for-woocommerce/admin/modules/import/classes/class-import-ajax.php(440): Wt_Import_Export_For_Woo_Basic_Import->process_action(Array, ‘import’, ‘order’, ‘temp_order_1729…’, 10, 0.0)”, “#12 /public/wp-content/plugins/order-import-export-for-woocommerce/admin/modules/import/import.php(1162): Wt_Import_Export_For_Woo_Basic_Import_Ajax->import(Array)”, “#13 /public/wp-includes/class-wp-hook.php(324): Wt_Import_Export_For_Woo_Basic_Import->ajax_main(”)”, “#14 /public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)”, “#15public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)”, “#16 /public/wp-admin/admin-ajax.php(192): do_action(‘wp_ajax_iew_imp…’)”, “#17 {main}”, “thrown” ] }2024-10-21T01:41:36+00:00Critical Uncaught Error: Call to a member function get_meta() on bool in /public/wp-content/plugins/pre-orders-for-woocommerce/src/Checkout.php:67 Additional context2024-10-21T02:55:23+00:00Critical Uncaught Error: Call to a member function get_meta() on bool in /public/wp-content/plugins/pre-orders-for-woocommerce/src/Checkout.php:67 Additional context2024-10-21T03:00:33+00:00Critical Uncaught Error: Call to a member function get_meta() on bool in /public/wp-content/plugins/pre-orders-for-woocommerce/src/Checkout.php:67 Additional context2024-10-21T03:00:44+00:00Critical Uncaught Error: Call to a member function get_meta() on bool in /public/wp-content/plugins/pre-orders-for-woocommerce/src/Checkout.php:67 Additional context
- You must be logged in to reply to this topic.