Open geradt opened 8 years ago
Getting this as well.
It only happens when using ->toArray() iterating sheets.
Was attempting to prevent 984,000 "null" rows from being imported. Kind of having a time figuring this out.
I found the underlying issue. Your file (as well as my problematic files) uses an XML namespace "d" in xl/styles.xml
(ie <d:cellFx>
), while as ordinary Excel XML files do not use any XML namespace (just <cellFx>
). This prevents PHPExcel from loading the style information (cellfx) in the workbook. PHPExcel has no sanity check against this case, so the loading continues without an error until the style information is requested the first time.
Hi folks,
Thank you so much for such a great product. I have run into a small issue with my app when using this package.
ErrorException in PHPExcel.php line 889: Undefined offset: 0
Here is the call stack:
I have attached a copy of the sheet that I'm trying to import as well. Just in case someone wants to try and recreate it. :) Export-test.xlsx