simple-excel-php
simple-excel-php copied to clipboard
Undefined index: Type in Parser/XMLParser.php
Tried to import Excel XML and received an error:
Severity: Notice Message: Undefined index: Type Filename: Parser/XMLParser.php Line Number: 65
In line 65 of Parser/XMLParser.php the following code :
$cell_datatype = $data_attrs['Type'];
Error disappeared when corrected code like this:
$cell_datatype = $data_attrs[0]['@attributes']['Type'];
PS: I used SimpleExcel 0.4.0-beta
What version of Excel and what version of XML did you export as?