Trying to setup Image FUpload to work with Views Gallery, running into an issue that can't find any information on.
After uploading my images, I am prompted to go to the "next step" to edit the fields I want to on my new image nodes. I have removed the node body and the node title is being generated via Auto Nodetitles. The only field that I want to be able to edit is the CCK node reference field that links my new images to a gallery node.
However, at the moment I'm getting a white screen with the following message:
Fatal error: Unsupported operand types in (...)sites/all/modules/imagecache/imagecache.module on line 902
Probably more related to the Imagecache module, but has anybody else come across this before?
| Comment | File | Size | Author |
|---|---|---|---|
| #17 | image_upload-6.x-3.0-rc2-next-step-1173408-17.patch | 3.2 KB | gngn |
| #6 | 1173408-fupload_imagecache_fatal_fix-6.patch | 6.69 KB | travist |
Comments
Comment #1
henno.gous commentedComment #2
sandrewj commentedImage FUpload needs to call the imagecache theme function with the attributes as an array.
Comment #3
mattcasey commentedHere's a simple loop that converts the attributes into an array from a string. They should be input like so:
class="my-custom-class" alt="alternative text"Add this on line 58 of images.previewlist.imagefield.inc
I tried to store the $attributes as an array() but could not figure it out. :/
Comment #4
hozt commentedI made the change suggested to the file /image_fupload/includes/images.previewlist.imagefield.inc, but am still getting the same error.
Has this worked for anyone else?
Comment #5
sinuz commentedYes, unfortunately i have the same problem.
Comment #6
travist commentedWe were having the same problem. Fixed it with the following patch.
Thanks,
Travis.
Comment #7
mezitlab commentedtravist: this worked for me. Thank you!
Comment #8
sinuz commentedworks here also!
Comment #9
mattcasey commentedI tried the patch last night, was having troubles.. today it seems to work!
Comment #10
vishnu.kumar7 commentedHi Travis... More information on the usage of this patch will be highly appreciated... We are facing the same issue...
Regards
Vishnu Kumar
Comment #11
senzaesclusiva commentedI don't konow if it is the right way , but i had applied this patch and runs:
" Unsupported operand types in (...)sites/all/modules/imagecache/imagecache.module on line 902"
changed line 902 from
return '<img' . drupal_attributes($ours + $attributes) . '/>';in
return '<img' . drupal_attributes($ours) . $attributes . '/>';Comment #12
joshuautley commentedPatch #6 worked for removing the WSOD however when editing the page I am still no longer able to drag and drop the images into order. Error occurred when I updated tot he latest RC-2
Comment #13
rituraj.gupta commentedThanks travist #6. It works for me ....
Comment #14
hanskuiters commentedPatch #6 works for me too. Thanks.
Comment #15
eiriksmWorks for me as well.
Comment #16
gngn commentedApplied patch #6 to 6.x-3.0-rc2 and it works for me too. Thanks.
Comment #17
gngn commentedMaybe someone would like to have the patch for 6.x-3.0-rc2....
Comment #18
rhimes commentedrecently udated site from D6.17 to D6.35 and from Image FUpload 3.x-dev 2-1-10 to 9-30-13.
was getting same WSOD Fatal error: Unsupported operand types @ "Next" problem
patch #6 solved prob., at least so far - haven't yet made #11 changes to imagecache.module - & won't unless same issue or other arises- looks like patch s/b RTBC
- and THANKS! -