Hi,

I'm getting the same issue as the one mentionned in this feature request. I'm using PHP 5 so I think the bug is confirmed and not due to PHP 4, that's why I'm reporting here. I'm using Standard php functions too.

* warning: Invalid argument supplied for foreach() in /var/www/drupal/sites/test1.localhost/modules/iptc/iptc.module on line 758.
* warning: Attempt to assign property of non-object in /var/www/drupal/sites/test1.localhost/modules/iptc/iptc.module on line 766.

Comments

guillaumeduveau’s picture

Updates

  1. The bug does not appear if you choose Get exif metatags only, this makes sense. It shows for IPTC and of course, both together.
  2. Appears too with the exiv2 method instead of plain PHP.
  3. Appears on lines 758 and 766 when you update an image node, and also with line 809 and line 8xx (don't remember, but the Attempt to assign property) when you create an image node.
fronbow’s picture

Assigned: Unassigned » fronbow

Cheers for this guix, I'll have a look to see what's happening.

fronbow’s picture

Hopefully this is now fixed.

Cyclist72’s picture

I am still getting the same message, hasn't this been fixed?

simon georges’s picture

Status: Active » Closed (won't fix)

This version of iptc is not supported anymore. The issue is closed for this reason.

Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.