Hi all,

I get this issue when i'm creating a new node with a image attached:
Warning: Invalid argument supplied for foreach() in image_attribute_defaults_field_attach_presave()

The node is created and the image is there, but I still get this message.

What is it?

Comments

john_b’s picture

The function is not in Drupal core. Googling suggests that it appears in sandbox module http://drupal.org/sandbox/eosrei/1315294
Do you have this module installed?

If so, clearly it is an unsupported module, and you should probably remove it and report a bug in the issue queue there.

Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors

d.holmen@gmail.com’s picture

Thank you, that did help. I totally forgot that module.