How Can We Help?
I get the error Deprecated: Assigning the return value of new by reference is deprecated in components/com_fireboard/template/default/view.php on line 509
and
Deprecated: Assigning the return value of new by reference is deprecated in components/com_fireboard/template/default/view.php on line 1037
after I’ve upgraded to PHP 5.3 within my Fireboard Joomla! component when viewing a forum entry.
NOTE: The following versions of Joomla! and Fireboard I had installed when this error occured.
- Joomla! Version 1.5.22
- Fireboard Version 1.0.4
Please view my answer for what I did in order to resolve this issue
- Open the file components/com_fireboard/template/default/view.php
- Edit line 506 from
$params =& new mosParameters( '' );
to
$params = new mosParameters( '' );
- Edit line 1037 from
$params =& new mosParameters( '' );
to
$params = new mosParameters( '' );
- Save the file
- Refresh your page, and the error message will be gone.