0

When I'm trying to import xlsx file I have error:

{
    "message": "Undefined index: $",
    "status_code": 500
}

but if I save this file to csv and try to import all work like a charm. What is wrong with xslx format?

rostyslav
  • 49
  • 1
  • 7

2 Answers2

6

Just putting my 2 cents....

Check that your excel headings are small letters - $row['SomeHeading'] = $row['someheading']

migsAV
  • 289
  • 3
  • 11
0

I've found the solution. It's very simple but I can't found it on google for few hours. If you get this error just try to re-save excel file. It's some issue with encoding.

rostyslav
  • 49
  • 1
  • 7