I have two issues:

-The first one: when I click on "Import", I get this fatal error I don't understand:

Fatal error: Cannot access empty property in /srv/www/htdocs/drupal/sites/all/modules/imagefield_import/imagefield_import.module on line 836 array(4) { ["type"]=> int(1) ["message"]=> string(28) "Cannot access empty property" ["file"]=> string(83) "/srv/www/htdocs/drupal/sites/all/modules/imagefield_import/imagefield_import.module" ["line"]=> int(836) } n/a



-The second one: I can't write a body with my images and the field "body" doesn't even appears.

Can you help me ?
Thanks forward.

Comments

cyberwolf’s picture

Same issue here.

cyberwolf’s picture

Looks like you need to configure the target field (even if there is only a single file field in the content type) at admin/settings/imagefield_import. After configuring the target field I do not get the fatal error anymore.

It would be nice though if the module could check first if the type field is configure, before allowing to do an import at all, and thus preventing the fatal error.

wulff’s picture

Version: 6.x-1.9 » 6.x-1.x-dev
Status: Active » Fixed

Thanks for pointing this out.

I have added a warning message to the import form if the target field has not been configured.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.