Importing "Input Formats" using XML will produce the following error

Fatal error: Cannot unset string offsets in xxx\sites\all\modules\importexportapi\engines\importexportapi_xml_get.inc on line 62

CommentFileSizeAuthor
importexportapi_xml_get.inc_.patch1.06 KBwflohr

Comments

xjm’s picture

I get the same error in 6.x-1.x-dev trying to import user roles; hacking engines/importexportapi_xml_get.inc as above fixes it.

Anonymous’s picture

Version: 5.x-1.x-dev » 6.x-1.x-dev
Status: Needs review » Postponed (maintainer needs more info)

This patch doesn't make since to me in regard to the error. Can you tell me why you would check for !is_array instead of !isset?