Hi All,

I have tried to import the content based on XML file and i had to convert encoding type to UTF-8 to input a greek content. When i did it i got the following error:

Warning: Invalid argument supplied for foreach() in node_export_json_decode_objects() (line 44 of /mnt/www/html/pfwebinarsdev/docroot/sites/all/modules/contrib/node_export/formats/json.inc).
Warning: Invalid argument supplied for foreach() in node_export_drupal_decode_objects() (line 32 of /mnt/www/html/pfwebinarsdev/docroot/sites/all/modules/contrib/node_export/formats/drupal.inc).
Node export was unable to recognize the format of the supplied code. No nodes imported.

Thanks.

Files: 
CommentFileSizeAuthor
#3 Screenshot.png45.98 KBBruceDawson

Comments

I can confirm a pretty similar error when trying to import XML via code paste, not file import:

Warning: Invalid argument supplied for foreach() in node_export_file_field_import() (line 1091 of /www/sites/default/modules/node_export/node_export.module).

However import worked just fine and both title and body from the article content type made it through as expected.

I did a copy-paste export of blog entries from one drupal installation to another drupal installation and received the same error as in #1

Warning: Invalid argument supplied for foreach() in node_export_file_field_import() (line 1091 of /sites/all/modules/node_export/node_export.module).

The nodes look as though they got imported okay even with the error, but when I try to configure it to not reset things like the author, it doesn't work. Also, even though they look fine, when I go to edit them, the body is not shown on the edit form.

Version:7.x-3.0-rc3» 7.x-3.0
StatusFileSize
new45.98 KB

I did a Download on export, and imported the file using Node Export and got the error "Warning: Invalid argument supplied for foreach() in node_export_file_field_import().

However, it appears as if the import worked anyway.

See attached screenshot.