CCK version: 6.x-2.0-rc4
imagefield version: DRUPAL-6--3-0-ALPHA-2
permissions for your tmp and files directory. 770
download method (public or private files) public
imagefield configuration : GD
expected results : normal file upload
the unexpected actual results : Fatal error: Unsupported operand types in imagefield.module on line 197
Steps to reproduce the problem. : visit any node editing form that contains an imagefield

I'm not sure why, but this bug doesn't manifest itself on all of my sites.

CommentFileSizeAuthor
Unsupported_operand.patch673 bytesgrendzy

Comments

drewish’s picture

what version of filefield are you using?

grendzy’s picture

Thanks for the hint on filefield. I must have been using an early dev version from CVS, because the .info file didn't even have a version.

Upgrading to the newest fixed the problem.

I am curious, though, about the += operator in the patch. In filefield.module, element['#upload_validators'] is an array.

quicksketch’s picture

Priority: Critical » Normal
Status: Needs review » Closed (fixed)

Closing since this problem was fixed long ago.