Hello

We have started to design our new website in Joomla 4.

Our problem is that in some articles the admin interface breaks with the following error.
........
AH01071: Got error 'PHP message: PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in
.........
We tried to disable all the third-party extensions but nothing changed that behavior.
(note that we tried to downgrade php to 7.4.3 and problem solved)

Then we tried enable the again and the error changed to
.............................
500 behavior::modal not found
................................

Can you help us with that?

Hi

I tried to access some articles in backend and saw that there are warnings from the core file of com_content in Joomla, not from our template. I just turn off the Error Reporting in global configuration to hide these warnings.

For the error: 500 behavior, could you share the URL of page where I can see it?

Hello and thank you for this answer.

We solve the 500 warning by disabling and removing an extension.

Now if you enter some articles in the admin (not all of them) you will see it broken page and the error now is
Take that title for example : Ο Nick Cave μιλά για το αίσθημα της χαράς: «Επιλέγω να είμαι αισιόδοξος ως ανάγκη»

AH01071: Got error 'PHP message: PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in

We have thoughts if it has something to do with the Joomla core files.

What do you think?

Could you re-create article ? as the error indicates the issue from core file of Joomla.

We don't want to recreate the article as we will lose the link.
I send you this article as an example article, we face the same issue in many articles and it is a publisher's website.

Is there any chance that some of the T4 framework or the template caused this?

The warning message is from core file of Joomla so I guess there was something with your last update of Joomla.

For now, I disabled the error reporting so the admin interface of editing article can look fine now: administrator/index.php?option=com_content&view=article&layout=edit&id=80543

Kindly check.

Write a Reply...
You need to Login to view replies.