master-bootstrap-3 icon indicating copy to clipboard operation
master-bootstrap-3 copied to clipboard

PHP error in template

Open j0hannes opened this issue 4 years ago • 0 comments

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)?

j0hannes avatar Feb 09 '21 12:02 j0hannes