Hi there,
When using the List Contacts in a Category feature, I am encountering the following error: htmlspecialchars(): Argument #1 ($string) must be of type string, array given.
Could you please advise on how to fix this issue?
Thank you!
Anyone can help please ?
aliwari Hi
I checked that contact page but could not see the same error: /en/contact-en
Could you share the URL of page where I can replica it?
aliwari It appears that there is incompatibility issue of Joomla contact with PHP 8.3 version you're using.
I just updated this file to fix it: \components\com_contact\tmpl\contact\default_profile.php
\components\com_contact\tmpl\contact\default_profile.php
Kindly check.
saguaros I see, The issue is now resolved, but the profile avatar photo is still not displaying, the social info is showing as "Array, Array, Array," and the user articles are not showing either. Could you please have another look? Thank you.
It looks like this profile section of contact page will list all the fields of user profile there including the custom fields so it loads the avatar value text and the social info there. However, you don't add social fields for this user yet so nothing displays there.
With the user articles, I tried with Cassiopeia template but no article displays there either.
ok, thank you