• Resolved pjkozlowskijr

    (@pjkozlowskijr)


    Trying to export orders from our production site to an archive site. We usually perform this action monthly. In November, we had no issues, but today we’re getting a fatal error each time an import is run. The log entry can be seen below. Orders are being exported from production environment using the same plugin. I’ve reviewed the CSV files (can provide if needed), and nothing stands out to me as looking incorrect.

    Thanks in advance for any help or guidance you can give!

    2023-12-04T16:25:52+00:00 CRITICAL Uncaught TypeError: Cannot access offset of type string on string in /chroot/home/archivet/archive.3chi.com/html/wp-content/plugins/order-import-export-for-woocommerce/admin/modules/order/import/import.php:1097
    Stack trace:
    #0 /chroot/home/archivet/archive.3chi.com/html/wp-content/plugins/order-import-export-for-woocommerce/admin/modules/order/import/import.php(408): Wt_Import_Export_For_Woo_Basic_Order_Import->wt_parse_shipping_items_field('items:Hammer of...')
    #1 /chroot/home/archivet/archive.3chi.com/html/wp-content/plugins/order-import-export-for-woocommerce/admin/modules/order/import/import.php(77): Wt_Import_Export_For_Woo_Basic_Order_Import->parse_data(Array)
    #2 /chroot/home/archivet/archive.3chi.com/html/wp-content/plugins/order-import-export-for-woocommerce/admin/modules/order/order.php(158): Wt_Import_Export_For_Woo_Basic_Order_Import->prepare_data_to_import(Array, Array, 10, false)
    #3 /chroot/home/archivet/archive.3chi.com/html/wp-includes/class-wp-hook.php(324): Wt_Import_Export_For_Woo_Basic_Order->importer_do_import(Array, 'order', 'import', Array, Array, 'new', 10, false)
    #4 /chroot/home/archivet/archive.3chi.com/html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
    #5 /chroot/home/archivet/archive.3chi.com/html/wp-content/plugins/order-import-export-for-woocommerce/admin/modules/import/import.php(1015): apply_filters('wt_iew_importer...', Array, 'order', 'import', Array, Array, 'new', 10, false)
    #6 /chroot/home/archivet/archive.3chi.com/html/wp-content/plugins/order-import-export-for-woocommerce/admin/modules/import/classes/class-import-ajax.php(446): Wt_Import_Export_For_Woo_Basic_Import->process_action(Array, 'import', 'order', 'temp_order_1701...', 74, 39800)
    #7 /chroot/home/archivet/archive.3chi.com/html/wp-content/plugins/order-import-export-for-woocommerce/admin/modules/import/import.php(1154): Wt_Import_Export_For_Woo_Basic_Import_Ajax->import(Array)
    #8 /chroot/home/archivet/archive.3chi.com/html/wp-includes/class-wp-hook.php(324): Wt_Import_Export_For_Woo_Basic_Import->ajax_main('')
    #9 /chroot/home/archivet/archive.3chi.com/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    #10 /chroot/home/archivet/archive.3chi.com/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #11 /chroot/home/archivet/archive.3chi.com/html/wp-admin/admin-ajax.php(188): do_action('wp_ajax_iew_imp...')
    #12 {main}
      thrown in /chroot/home/archivet/archive.3chi.com/html/wp-content/plugins/order-import-export-for-woocommerce/admin/modules/order/import/import.php on line 1097
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @pjkozlowskijr,

    Thank you for reaching out.

    We are sorry for the inconvenience you had to face during the import. The issue was occurring due to a bug in the plugin and we have fixed it, and the fix will be included in the upcoming plugin release.

    As soon as the updated version is out, we’ll keep you informed.

    Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @pjkozlowskijr,

    We have released the latest version of the plugin. Please update the plugin to the latest version(2.4.3) and try importing the orders.

    Thread Starter pjkozlowskijr

    (@pjkozlowskijr)

    @webtoffeesupport – I’m now able to successfully import orders using the same documents that previously received errors. Latest plugin version seems to have corrected the issue. Thanks for the quick fix!

    Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @pjkozlowskijr,

    Thanks for your response and we’re happy to hear that the issue is resolved after updating to the latest version.

    If you like using our plugin, please consider leaving us a review here. It would really help us spread the word.

    Feel free to reach out to us if you have any queries related to the plugin. We are always here to help you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error: Cannot access offset of type string on string’ is closed to new replies.