An error occurred. /batch?id=60&op=do
Fatal error: Call to undefined function array_join() in /public_html/sites/all/modules/xml2node/xml2node.module on line 494

The node is very simple, include the title and a file. When the file path is wrong and cannot located the file, I can import the node (but without the file imported of course). When the path is correct, I got this error.

Could you tell me what I did wrong? thanks.

hosais

Comments

hosais’s picture

Ho,

By the way, the error message:

An error occurred while processing xml2node_import_node with arguments: Array ( [0] => 1 [1] => sites/.../files/temp/import_xml2.xml )

hosais’s picture

I change array_join() to array_merge() then it seems work.

Anonymous’s picture

Assigned: Unassigned »
Category: support » bug
Priority: Normal » Critical
Status: Active » Needs work

Hey,

This should be a recursive call to "xml2node_array_join(...)". So instead of "array_merge" you should insert "xml2node_array_join". This is a bug, I'll fix this.

Thanks for reporting.

Anonymous’s picture

Version: 6.x-1.1 » 6.x-1.2
Status: Needs work » Closed (fixed)