Warning: Creating default object from empty value in image_field_random_field_attach_submit() (line 130 of sites/all/modules/contrib/image_field_random/image_field_random.module).

This warning message appear on node save. The solution could be adding a line before line 130:

+ $file = new stdClass;
$file->uid = $user->uid;

CommentFileSizeAuthor
image_field_random.patch240 byteszsuffa dávid

Comments

miechiel’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

samail’s picture

Hi,
Seems the patch has not been merged yet into beta1 version.
++

danielphenry’s picture

You are correct. This fix is only on the dev version. I think this is the only change between the two so feel free to just download the dev version instead. I don't plan on rolling another release until a legitimate feature or major change is done.