Greetings,

It seems that this error I got is spreading from module to module :-)

After upgrading to the latest release I got these errors at the top of all my pages:
-------------------------------------------------------
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). 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 ~/main/sites/all/modules/fivestar/fivestar.module on line 1336

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). 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 ~/main/sites/all/modules/fivestar/fivestar.module on line 1340
-----------------------------------------------------

A similar error has occurred with other modules and have been solved. You can check:
Advanced Forum: http://drupal.org/project/issues/193248
Node Import: http://drupal.org/node/233680

Comments

vperr’s picture

I am experiencing the same problem but it happened to me when I moved the website from my hosting provider server to a wampserver on my local machine. I did not upgrade the module since I just copied the module files on my pc. I am not sure about what is causing this problem but I may guess that it depends on the different version of PhP that came with wampserver.
Hope this helps!

sleepytom’s picture

you can get rid of the errors by setting
allow_call_time_pass_reference = On
in php.ini
but in future the code should be updated to avoid this issue

quicksketch’s picture

Status: Active » Fixed

Thanks, I fixed this one in http://drupal.org/node/233765, I hope to get 1.12 out in the next few weeks.

Walt Esquivel’s picture

Status: Closed (fixed) » Fixed

Thanks for the tip, but where can I find php.ini?

Thanks in advance.

EDIT: Never mind since 5.x-1.12 has now been released. Thank you!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

Status: Fixed » Closed (fixed)

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