Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP error in template #61

Open
j0hannes opened this issue Feb 9, 2021 · 0 comments
Open

PHP error in template #61

j0hannes opened this issue Feb 9, 2021 · 0 comments

Comments

@j0hannes
Copy link

j0hannes commented Feb 9, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant