Hi everyone,

Here is what I got when I try to modify my node : " warning: array_push() [function.array-push]: First argument should be an array in (...)/sites/all/modules/image_fupload/includes/images.previewlist.imagefield.inc on line 23."

CommentFileSizeAuthor
#2 image_FUpload.patch906 bytesvomitHatSteve

Comments

iaminawe’s picture

I get this too

vomitHatSteve’s picture

StatusFileSize
new906 bytes

Hmmm... It looks like this module is no longer maintained. (Considering the last development snapshot was 6 months ago!)

I've attached a patch, but I don't use CVS and don't know the patching process. (So caveat emptor or however you spell that).

Long story short, the foreach loop around that line is grabbing array values and calling them $key instead of grabbing the $key and $value.
I also threw in a sanity check to not bother trying to push the value onto the array if the key is empty.