[horde] Horde 6 - Groups error

Nels Lindquist nlindq at maei.ca
Thu Apr 2 23:43:57 UTC 2026


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

Details
The full error message is logged in Horde's log file, and is shown below 
only to administrators. Non-administrative users will not see error details.

TypeError Object
(
     [message:protected] => htmlspecialchars(): Argument #1 ($string) 
must be of type string, array given
     [string:Error:private] => TypeError: 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
Stack trace:
#0 
/var/www/html/horde6/vendor/horde/horde/templates/admin/groups/edit.inc(7): 
htmlspecialchars()
#1 /var/www/html/horde6/vendor/horde/horde/admin/groups.php(169): 
require('...')
#2 /var/www/html/horde6/web/horde/admin/groups.php(3): require_once('...')
#3 {main}
     [code:protected] => 0
     [file:protected] => 
/var/www/html/horde6/vendor/horde/horde/templates/admin/groups/edit.inc
     [line:protected] => 7
     [trace:Error:private] => Array
         (
             [0] => Array
                 (
                     [file] => 
/var/www/html/horde6/vendor/horde/horde/templates/admin/groups/edit.inc
                     [line] => 7
                     [function] => htmlspecialchars
                 )

             [1] => Array
                 (
                     [file] => 
/var/www/html/horde6/vendor/horde/horde/admin/groups.php
                     [line] => 169
                     [args] => Array
                         (
                             [0] => 
/var/www/html/horde6/vendor/horde/horde/templates/admin/groups/edit.inc
                         )

                     [function] => require
                 )

             [2] => Array
                 (
                     [file] => 
/var/www/html/horde6/web/horde/admin/groups.php
                     [line] => 3
                     [args] => Array
                         (
                             [0] => 
/var/www/html/horde6/vendor/horde/horde/admin/groups.php
                         )

                     [function] => require_once
                 )

         )

     [previous:Error:private] =>
)


-- 
Nels Lindquist
nlindq at maei.ca


More information about the horde mailing list