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 Image FUpload module, but has anybody else come across this before?
Comments
Comment #1
broncomania commentedSubscribe same error here
Comment #2
sandrewj commentedThe dev version needs to receive $attributes as an array instead of a string in theme_imagecache.
You could try changing line 902 from:
to:
Comment #3
sandrewj commentedSince the function description says it accepts an array, I am closing this issue. FUpload should change it if it isn't corrected yet.
Comment #4
mvcFor reference, here's the same problem in the image fupload issue queue: #1173408: Error when moving to next step
Comment #5
2ndmile commentedI was getting the same error and I do not have fupload installed. Made the change from #2 and all is well.
Comment #6
rogerfm commentedI do have FUpload installed. Step 2 worked for me too.
Comment #7
vigoncas commentedIn that case we are not processing $attributes in drupal_attributes and you can see a wrong 'array' attribute in your HTML.
It's better to do:
return '
';
Comment #8
gngn commentedLike mvc posted in #4 this is also handled in the image fupload issue queue.
There's a patch for Image FUpload 6.x-3.x-dev (https://drupal.org/node/1173408#comment-6137190) and for 6.x-3.0-rc2 (https://drupal.org/node/1173408#comment-7498424)