im having a big issue here. everytime i upload picture. that messge came up on the top of the page..you can see this error at my site (http://www.postbuddies.com/
also when i tried to put url image on moviedb.it doesnt show anything.i think its something to do with image file or somthing.
here is the full error messge im getting on the front page of my site
warning: Parameter 1 to image_display() expected to be a reference, value given in C:\server\xampp\htdocs\includes\module.inc on line 462.
even though i checked that error is on that line and i got that on 462 line
return call_user_func_array($function, $args);
i dont know wat im doing wrong and wat i missed. any help?
Comment | File | Size | Author |
---|---|---|---|
#3 | image.display-reference.3.patch | 648 bytes | sun |
error msge.jpg | 68.57 KB | musicster |
Comments
Comment #1
joachim CreditAttribution: joachim commentedLine 462 seems to be within module_invoke.
Which is pretty weird, as image_display() is not a hook.
Are you using any modules which depend on image? Are any of those trying to call image_display() as a hook?
Comment #2
Tauntuan1980 CreditAttribution: Tauntuan1980 commentedI am having the same issue. The only thing I am using that depends on Image is Image Upload. I get the follow errors when I initially attach the image as well:
* warning: Parameter 2 to og_form_alter() expected to be a reference, value given in /usr/share/drupal6/includes/common.inc on line 2839.
* warning: Parameter 2 to taxonomy_batch_operations_form_alter() expected to be a reference, value given in /usr/share/drupal6/includes/common.inc on line 2839.
* warning: Parameter 2 to upload_image_form_alter() expected to be a reference, value given in /usr/share/drupal6/includes/common.inc on line 2839.
* warning: Parameter 2 to user_relationship_mailer_form_alter() expected to be a reference, value given in /usr/share/drupal6/includes/common.inc on line 2839.
* warning: Parameter 2 to og_access_form_alter() expected to be a reference, value given in /usr/share/drupal6/includes/common.inc on line 2839.
* warning: Parameter 2 to notifications_content_form_alter() expected to be a reference, value given in /usr/share/drupal6/includes/common.inc on line 2839.
Then I get the Parameter 1 to image_display error once I publish, and my attached photo is gone.
Any help would be great.
Comment #3
sunAnyway, I don't see a reason why $node should be taken by reference in the first place here.
Comment #4
tax15 CreditAttribution: tax15 commentedI am using Drupal 6.20 and the patch mentioned by 'sun' already exists in the image module.
I am still getting the following error:
warning: Parameter 1 to image_display() expected to be a reference, value given in C:\xampp\htdocs\drupal620\includes\module.inc on line 462.
Any suggestion?
Comment #5
joachim CreditAttribution: joachim commented> I am using Drupal 6.20 and the patch mentioned by 'sun' already exists in the image module.
It doesn't. It currently passes by reference.
Comment #6
ossama.selim CreditAttribution: ossama.selim commenteddoesn't work for me!!
Comment #7
ossama.selim CreditAttribution: ossama.selim commentedTry to remove & from image.modules at in this code:"
"
it works for me!
Comment #8
joachim CreditAttribution: joachim commentedFixed.