Skip to content

Undefined index: Type in Parser/XMLParser.php #32

@vimruler

Description

@vimruler

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions