Getting warnings on deprecated pass-by-reference

reikiman - June 28, 2008 - 04:37
Project:Embedded Media Field
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

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 /home/.nurse/reikiman/d6.davidherron.com/sites/all/modules/emfield/emfield.module on line 39

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 /home/.nurse/reikiman/d6.davidherron.com/sites/all/modules/emfield/emfield.module on line 39

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 /home/.nurse/reikiman/d6.davidherron.com/sites/all/modules/emfield/emfield.module on line 249

#1

reikiman - June 28, 2008 - 05:01

Inspecting the code I see there are two function calls (at the above line numbers) where the function call uses pass-by-reference ('&') and it appears my web hosting provider has configured the PHP on the system to not allow this. Removing the &'s on those two lines causes the warnings to go away.

AttachmentSize
emfield.diff800 bytes

#2

Alex UA - July 5, 2008 - 21:10
Status:active» duplicate

That is not an acceptable solution, but I am marking this as a duplicate of http://drupal.org/node/275976

 
 

Drupal is a registered trademark of Dries Buytaert.