Hi, I keep getting this warning in my site's output:

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of image_prepare(). 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 /home/content/k/n/a/knausz/html/sites/all/modules/maqum/maqum.module on line 98

and also one for line 172. I cannot turn on the allow_call_time_pass_reference flag in my php.ini. I think I'm not allowed to change this on the shared server I use. Am I doing something wrong? Does the code need to be updated? If there is a simple fix, I would really appreciate a patch because I'm no PHP expert.

I appreciate any help.

Thanks!

-Imre

Comments

knausz’s picture

Status: Active » Closed (fixed)

I have a work-around, I set "allow_call_time_pass_reference = On" in my php.ini. At first that wasn't working. It wasn't until later that I realized my hosting service requires me to call it php5.ini.

Maybe in a future version the code can be modified to not use deprecated methods.

-Imre