Got some method calls that need refactoring:

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 /sites/all/modules/pageroute/pageroute.module on line 133

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of module_invoke_all(). 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 /sites/all/modules/pageroute/pageroute.module on line 135

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of call_user_func(). 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 /sites/all/modules/pageroute/pageroute.module on line 258

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of call_user_func(). 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 /sites/all/modules/pageroute/pageroute.module on line 433

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of call_user_func(). 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 /sites/all/modules/pageroute/pageroute.module on line 433

Comments

fago’s picture

Version: 6.x-1.0-beta1 » 6.x-1.x-dev
Issue tags: +pageroute-beta2

bump.

If you don't get those warnings, be sure to set "allow_call_time_pass_reference" to FALSE in your dev environment.

sepgil’s picture

I've set "allow_call_time_pass_reference" to Off (there is just On and Off statements in the php.ini), but didn't get any warnings. I think it's fixed in the newest version...

fago’s picture

Status: Active » Fixed

so please reopen if you reproduce it with the dev version.

Status: Fixed » Closed (fixed)
Issue tags: -pageroute-beta2

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