Download & Extend

Fatal error: Cannot unset string offsets in ..

Project:Import / Export API
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)

Issue Summary

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

AttachmentSize
importexportapi_xml_get.inc_.patch1.06 KB

Comments

#1

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.

#2

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?