Closed (fixed)
Project:
Imagefield Import
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 May 2010 at 13:07 UTC
Updated:
21 Jun 2010 at 09:30 UTC
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
Comment #1
cyberwolf commentedSame issue here.
Comment #2
cyberwolf commentedLooks 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.
Comment #3
wulff commentedThanks for pointing this out.
I have added a warning message to the import form if the target field has not been configured.