Ticket #239 (closed Bug report: fixed)
"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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
