• Resolved ericknwwd

    (@ericknwwd)


    I’m trying to import orders.

    1. I click on advance import
    2. Upload my file, goes to 100%
    3. I click on button “step3: Map import columns”
    4. Popup shows up saying making a temp file.
    5. Popup closes and then nothing happens

    I checked the webtoffee_import folder and the temp files are created and my file is there.

    Checking the wp logs it shows:

    [01-Jun-2023 18:27:11 UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in {domain ommitted}/wp-content/plugins/order-import-export-for-woocommerce/admin/classes/class-csvreader.php:97
    
    Stack trace:
    
    #0 {domain ommitted}/wp-content/plugins/order-import-export-for-woocommerce/admin/modules/import/classes/class-import-ajax.php(674): Wt_Import_Export_For_Woo_Basic_Csvreader->get_sample_data('...', true)
    
    #1 {domain ommitted}/wp-content/plugins/order-import-export-for-woocommerce/admin/modules/import/classes/class-import-ajax.php(82): Wt_Import_Export_For_Woo_Basic_Import_Ajax->mapping_page()
    
    #2 {domain ommitted}/wp-content/plugins/order-import-export-for-woocommerce/admin/modules/import/import.php(1148): Wt_Import_Export_For_Woo_Basic_Import_Ajax->get_steps(Array)
    
    #3 {domain ommitted}/wp-includes/class-wp-hook.php(308): Wt_Import_Export_For_Woo_Basic_Import->ajax_main('')
    
    #4 {domain ommitted}/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    
    #5 {domain ommitted}/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    
    #6 {domain ommitted}/wp-admin/admin-ajax.php(188): do_action('wp_ajax_iew_imp...')
    
    #7 {main}
    
    thrown in {domain ommitted}/wp-content/plugins/order-import-export-for-woocommerce/admin/classes/class-csvreader.php on line 97

    Running WP v6.2.2, PHP v8.0.28, Plugin v2.3.4

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @ericknwwd,

    Thanks for reaching out.

    Could you please share the CSV file that you are trying to import? You may please remove the?user-sensitive?data from the file and share it with us by uploading it to?Google?Drive?or WeTransfer or any similar service and sharing the link.

    Thread Starter ericknwwd

    (@ericknwwd)

    The CSV is an export of woocommerce orders + Wholesale Suite Plugin

    The file has 500 rows I only kept 2 and removed the rest otherwise it would take me a long time to remove sensitive info.

    https://drive.google.com/file/d/1dXBpeVNrOgij6afKfGlrdOTQ32fbLb1C/view?usp=sharing

    Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @ericknwwd,

    Thanks for sharing the CSV file.

    We have identified that the error occurred due to an issue with the column header names in your file. We are pleased to inform you that we have addressed this problem in the latest version of our plugin, version 2.3.5. Kindly update your plugin to the latest version and try again.

    We also noticed that the column header and data format in your file are different. Unfortunately, with the current file, item details cannot be imported using our plugin. To successfully import your data, please ensure that the column headers and data format in your file align with the sample CSV file.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Order CSV doesn’t import’ is closed to new replies.