Hi, I am getting this warning.

PHP Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of form_get_cache(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /var/www/html/XXX/sites/all/modules/image_fupload/image_fupload_image/image_fupload_image.module on line 142

I will set allow_call_time_pass_reference = true in PHP.ini

Latest occurrences in Drupal.org (Google Search)

R3

Comments

grandcat’s picture

Status: Active » Postponed (maintainer needs more info)

No, change this value to "Off". It should not be enabled for general security reasons. I will look where the problem is.

jevinnedy’s picture

Hi - I just installed a fresh version of Drupal 6 and installed the image module and image fupload and got the same error I went into the code on line 142 as indicated and removed the ampersand (the reference) and it seems to be fine now.

grandcat’s picture

Status: Postponed (maintainer needs more info) » Active

This works on some configurations, yes.

grandcat’s picture

Status: Active » Needs work

Perhaps you could provide a patch or code sample, this would be great.

grandcat’s picture

Status: Needs work » Fixed

Now fixed. Will be fixed for rc2.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.