master-bootstrap-3
master-bootstrap-3 copied to clipboard
PHP error in template
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();
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)?