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!

4 days later
6 days later

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?

This message is visible to Moderators only
hidden content

    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

    default-profilephp.zip
    1kB

    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.


        aliwari Hi

        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.

        10 days later
        Write a Reply...
        You need to Login to view replies.