Exception thrown

[XML2Array] The input XML object should be of type: DOMDocument.