Open j0hannes opened 3 years ago
Hi,
I found this error:
Notice: Only variables should be assigned by reference in .../masterbootstrap/html/com_content/article/default.php on line 44
There, we find this line $doc =& JFactory::getDocument();
$doc =& JFactory::getDocument();
The origin lies in the introduction of the new keyword in PHP 7 (see https://www.php.net/manual/en/migration70.incompatible.php#migration70.incompatible.other). Is this template only compatible with PHP version 5.x? Can it be adjusted to also run with recent versions (7 and 8)?
Hi,
I found this error:
There, we find this line
$doc =& JFactory::getDocument();
The origin lies in the introduction of the new keyword in PHP 7 (see https://www.php.net/manual/en/migration70.incompatible.php#migration70.incompatible.other). Is this template only compatible with PHP version 5.x? Can it be adjusted to also run with recent versions (7 and 8)?