Ticket #239 (closed Bug report: fixed)

Opened 14 years ago

Last modified 13 years ago

"Call-time pass-by-reference has been deprecated" PHP warnings all over the place

Reported by: max-horvath Owned by: max-horvath
Priority: low Milestone: WifiDog Auth Server 1.0
Component: Auth server, Other Version:
Keywords: php warning Cc:

Description

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 /wifidog/classes/Content/ContentGroup/ContentGroupElement.php on line 537

Warnings like that are all over the place.

To fix these warnings instead of not displaying them via the php.ini flag we need to have our '&' in the function definition and not the in function call.

Change History

Changed 14 years ago by max-horvath

  • status changed from new to assigned

Changed 14 years ago by max-horvath

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in [1088]

Note: See TracTickets for help on using tickets.