[horde] Horde 6 - Groups error
Nels Lindquist
nlindq at maei.ca
Fri Apr 10 21:48:33 UTC 2026
On 2026-04-03 8:13 AM, Ralf Lang wrote:
> Hi Charles, will review tonight or tomorrow. Thank you for providing the PR.
>
> Jean Charles Delépine <delepine at u-picardie.fr> schrieb am Fr., 3. Apr.
> 2026, 15:44:
>
>>
>> Quoting Nels Lindquist <nlindq at maei.ca>:
>>
>>> Currently using PHP 8.5 (using php-fpm).
>>> I am using LDAP for Groups.
>>>
>>> The list of groups retrieved from LDAP is displayed, but when an
>>> individual group is selected, I receive the following error:
>>>
>>> A fatal error has occurred
>>> htmlspecialchars(): Argument #1 ($string) must be of type string, array
>> given
>>> in
>> /var/www/html/horde6/vendor/horde/horde/templates/admin/groups/edit.inc:7
>>>
>>> 1. require_once() /var/www/html/horde6/web/horde/admin/groups.php:3
>>> 2. require() /var/www/html/horde6/vendor/horde/horde/admin/groups.php:169
>>> 3. htmlspecialchars()
>>> /var/www/html/horde6/vendor/horde/horde/templates/admin/groups/edit.inc:7
>>
>> Same error here with php8.4.
>>
>> Ldap return an array, not a string.
>> One possible correction :
>>
>> https://github.com/horde/base/pull/63
I switched to the 6.x-dev branch of horde/horde so I could test the patches, and I'm no longer getting errors when clicking on an individual group in the list.
However, the group membership isn't being properly displayed; I'm getting a varying number of blank horizontal lines where the member list should be, depending on how many group members there are. "View Source" shows a table in the User section with labels of the form 'for="remove_userid"' but no actual data between the <td></td> tags.
Not sure if it's related, but I'm also seeing odd behaviour when trying to look at individual addressbook entries in turba; if I select an entry from the directory, I see the person's name at the top, but no other fields. Selecting the Edit tab produces a populated form with all the expected information.
There are no error showing up anywhere in the logs while this is occurring.
--
Nels Lindquist
nlindq at maei.ca
More information about the horde
mailing list