1
Nick_James
xhelp 0.79 with 2.4.4

Getting a lot of these warning messages.

How do we fix this?

Should we be enabling call time pass by reference?


-------------------------------------
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/content/D/a/m/Damselfly/html/modules/xhelp/index.php on line 262

2
ghia
Re: xhelp 0.79 with 2.4.4
  • 2010/5/7 6:20

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Replace
error_reporting (E_ALL);
with
error_reporting (E_ALL E_NOTICE E_DEPRECATED);
This will suppress further warning and notice messages introduced by PHP 5.3+. The functions are executed as usual, with or without the messages.
The code itself has to be adapted, when the method in a future PHP version is effective no longer allowed.

Login

Who's Online

298 user(s) are online (60 user(s) are browsing Support Forums)


Members: 0


Guests: 298


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits