Hi there,

When I add an image ad, I get these error after the validation :

warning: Invalid argument supplied for foreach() in /home/kalys/html/sites/all/modules/ad/image/ad_image.module on line 251.

And I'm not on a dev version, it should be a stable one... any ideas about this problem ?

Thanks

zmove

Comments

jeremy’s picture

Status: Active » Postponed (maintainer needs more info)

Are you still getting this error? I'm unable to duplicate.

kaimeta’s picture

Component: ad_image.module » ad_image module

I'm getting the same error and can't seem to figure out how to correct it

zmove’s picture

I don't have this error anymore on the last release, however I sill have to submit the ad twice to get the image.

rfranquet’s picture

This bug appears when you save the ad without attaching a image file.

zmove’s picture

Maybe, because the first time I add an image add, I have the error and the picture don't show up. But I upload the picture the first time, for sure.

rfranquet’s picture

In a 5.x-1.4-1 version there are some bugs and does not assign the file Id.

jeremy’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

This is a known bug, not yet fixed but to be looked at before the next release.