PHP Error Reporting

Fixed but broken

I’ve copied the warning setting line from a php.ini on a test server (which runs ubuntu/apache2/php5), but the errors are displaying too much.

Even at the top of some normally-working forums, two new errors (the same error, but twice) were introduced, which I’ve never seen before:

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 /home/username/domain.com/html/forums/sources/classes/class_display.php on line 347

This is the line I used in php.ini:

error_reporting  =  E_ALL & ~E_NOTICE & ~E_STRICT

Setting this in php.ini also seems to do nothing:

allow_call_time_pass_reference = On