Drupal 5.6
PHP 5.1.6

Receiving the following warnings immediately after enabling the module:

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; 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. However, future versions may not support this any longer. in /*edited*/modules/role_control/role_control.module on line 119

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; 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. However, future versions may not support this any longer. in /*edited*/modules/role_control/role_control.module on line 123

Comment in php.ini:

"This method is deprecated and is likely to be unsupported in future versions of PHP/Zend. You will receive a warning each time you use this feature, and the argument will be passed by value instead of by reference"

Comments

elliot’s picture

Assigned: Unassigned » elliot

I'll look into that, not sure why they would be deprecating pass-by-reference, but perhaps they have their reasons. It will probably be mid-late next week before I can get to this one.
-Elliot

elliot’s picture

Status: Active » Fixed

This should be fixed on both dev branches, please let me know if you find further issues.
-Elliot

Anonymous’s picture

Status: Fixed » Closed (fixed)

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