Skip to content

"Unable to parse response as XML" exception being thrown when there are no errors #58

@justincy

Description

@justincy

This happens when the SimpleXMLElement returned by simplexml_load_string() is empty. Somehow adding ! in front of it converts to a boolean false. This can be fixed by checking for $parsed === false.

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