Automatic Conversion Of False To Array is Deprecated (php 8.1) - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Automatic Conversion Of False To Array is Deprecated (php 8.1)

R

Rózsa Csaba

Template 2 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

0
3 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #128364

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

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #128362

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.
0
R
Rózsa Csaba
Accepted Answer
2 years ago #128366

Hello Paul,

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

Csaba :)

0