Question: Import Not Working

Import Not Working

hello I keep getting this error: "500: undefined array key 1" when i try to import my products, attached is the excel file im using to import, I followed the template exactly

WA

Wadeea Alzabah

Asked
hello I keep getting this error: "500: undefined array key 1" when i try to import my products, attached is the excel file im using to import, I followed the template exactly
  • MS

    Mian Saleem

    Answered
    Hello,

    Can you please zip the file and attach again along with the log from from `storage/logs/` folder.

    Thank you
  • WA

    Wadeea Alzabah

    Answered
    ok here they are thank you so much
  • MS

    Mian Saleem

    Answered
    Hello,

    I will fix this in the next update. For now please edit `app/Tec/Imports/ProductImport.php` and replace line 158 `if ($this->customFields) {` with

    ```php
    if ($this->customFields && ! empty($row['extra_attributes'] ?? null)) {
    ```

    Thank you
  • WA

    Wadeea Alzabah

    Answered
    When is the next update

    Also i have tried this and it did not work
  • MS

    Mian Saleem

    Answered
    Hello,

    Can you please check the logs again and let me know the error. The update will be release by the end of this week.

    Thank you
  • Login to Reply