Template works perfectly in PHP 7, but if I update to PHP 8 it throws the following errors from two lines in Document.php (lines 514 & 613): "Deprecated: Automatic conversion of false to array is deprecated in......./libraries/src/Document/Document.php". Any advise on what should be changed?
PHP 8 shows error message on home page
larrypitts Hi
That's core file of Joomla, I guess that it's compatible with PHP version you're using, could you try to use PHP 8.0 for now?
a month later
Works fine using php 8.0 (which is only receiving security updates), but as soon as I switch to 8.1, the errors reappear.
larrypitts Are you using latest version of Joomla 4?
Yes. 4.3.4
larrypitts Something wrong with Joomla package on your site, you can go to Global configuration in backend of your site >> Server tab and set Error Reporting
to None
for now, basically, this kind of warning will not affect function of your site.
Thanks, yes I already did that. And reinstalled Joola core files. Same problem. Will keep trying to find the solution on Joomla forums.