When trying to import a node, I get this error message:
Fatal error: Call to undefined method stdClass::__set_state() in /var/www/drupal6/sites/all/modules/node_export/export.pages.inc(114) : eval()'d code on line 1

I didn't mark this issue as a bug report because I'm trying to export from a 5.x site and import to a 6.x site, which I'm guessing is the cause of the error...
Is there a way I can export/import between Drupal versions?

Also, do you support batch exporting/importing?
Thanks!

Comments

danielb’s picture

Status: Active » Closed (works as designed)

The two sites must be identical in their code for this module to guarantee success.
No batch operations either.

Anonymous’s picture

There's a comment on the Node Export homepage that says:

An example of how you might use this module: Say you have created a node of type Webform with the following fields: "First Name" "Surname" "Email" "Comment" on one website. You come to building a new website with a similar Webform, but the fields are: "First Name" "Surname" "Email" "Phone" "Fax". We could either create the form from scratch, or we could export/import the original form, remove the "Comment" field and add the "Phone" and "Fax" fields.

I took this to mean that I could export CCK nodes that had name, address, phone and fax fields, and import them to nodes that had name address, phone and email fields. This is obviously not the case...