Solved Templates

Automatic conversion of false to array is deprecated (php 8.1)

Asked by Rózsa Csaba 3 years ago Last activity 3 years ago

Hi!

pls help me:

Joomla 4.3.4.
Template: MEgainc

I change php 8.0 > 8.1

Deprecated: Automatic conversion of false to array is deprecated in /home/janoshalma/public_html/libraries/src/Document/Document.php on line 514

Thank you!
Best regards: Csaba

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff
3 years ago · edited

Ok, I found it.

info_1402_2023.gif

by now, I disabled both (no error message anymore), now is your turn to tests & unistall buggy one.

BTW

Joomla 4 has its own accessibility plugin, use it instead of extra one, that you have from 2019.


You're welcome :)

2 more replies

Paul Frankowski Senior Staff
3 years ago · edited

Hi,

you have that same error also on Cassiopeia template on article view, so it doesn't look like our template issue in that case.

info_1401_2023.gif


  1. Yes, It can be problem with PHP 8 version and one of extra installed plugins.
  2. libraries/src/Document/Document.php - is Joomla core file, is used for views.
Rózsa Csaba Asked this

Hello Paul,

you are professional! Thank you so much for your extra quick help, I really appreciate it!

Csaba :)

Log in to reply.