[horde] Horde 6 - Groups error
Ralf Lang
ralf.lang at gmail.com
Sat Apr 11 08:16:39 UTC 2026
Hi Nels, a potential fix for the groups topic is this:
https://github.com/horde/Group/pull/4
For the Turba issue I need more research as I cannot really pinpoint this.
The Turba LDAP driver already joins multi-valued LDAP attributes into
strings in _getResults(), so it's not
the same array-vs-string pattern as the Group bug. The form rendering
chain uses (string) casts, which would show "Array" rather than blank
output if an
array somehow got through.
Could you help narrow this down?
- Are all fields blank, or only certain types (addresses, phone numbers,
email)?
- Does the LDAP source have photo/jpegPhoto attributes for these contacts?
- What does your $cfgSources LDAP configuration look like (the map and
tabs sections in particular)?
That would help me trace where the display breaks.
Thank you again for testing and reporting — and thanks to Jean Charles
for the original PR
I will also think about a helper/tool to make it easier for admins to
identify permission problems with LDAP. But I don't think you ran into a
permission problem here.
On Sat, Apr 11, 2026 at 12:35 AM Nels Lindquist <nlindq at maei.ca> wrote:
> On 2026-04-10 3:48 PM, Nels Lindquist wrote:
> >
> > 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.
>
> Whoops; there are error messages in syslog; just nothing displayed in the
> browser.
>
> [horde] PHP ERROR: Undefined variable $element [pid 1557 on line 372 of
> "/var/www/html/horde6/vendor/horde/group/lib/Horde/Group/Ldap.php"]
> [horde] PHP ERROR: Undefined variable $element [pid 1557 on line 372 of
> "/var/www/html/horde6/vendor/horde/group/lib/Horde/Group/Ldap.php"]
> [horde] PHP ERROR: Undefined variable $element [pid 1557 on line 372 of
> "/var/www/html/horde6/vendor/horde/group/lib/Horde/Group/Ldap.php"]
> [horde] PHP ERROR: Undefined variable $element [pid 1557 on line 372 of
> "/var/www/html/horde6/vendor/horde/group/lib/Horde/Group/Ldap.php"]
> [horde] PHP ERROR: Undefined variable $element [pid 1557 on line 372 of
> "/var/www/html/horde6/vendor/horde/group/lib/Horde/Group/Ldap.php"]
> [horde] PHP ERROR: Undefined variable $element [pid 1557 on line 372 of
> "/var/www/html/horde6/vendor/horde/group/lib/Horde/Group/Ldap.php"]
> [horde] PHP ERROR: Undefined variable $element [pid 1557 on line 372 of
> "/var/www/html/horde6/vendor/horde/group/lib/Horde/Group/Ldap.php"]
> [horde] PHP ERROR: Undefined variable $element [pid 1557 on line 372 of
> "/var/www/html/horde6/vendor/horde/group/lib/Horde/Group/Ldap.php"]
> [horde] PHP ERROR: Undefined variable $element [pid 1557 on line 372 of
> "/var/www/html/horde6/vendor/horde/group/lib/Horde/Group/Ldap.php"]
>
> And then a bunch of:
>
> [horde] PHP ERROR: Undefined array key "exampleuserid" [pid 1557 on line
> 31 of
> "/var/www/html/horde6/vendor/horde/horde/templates/admin/groups/edit.inc"]
>
> [...]
>
> In addition, I did some testing with the turba display oddities, and
> they're occurring with LDAP backends, but not with SQL based ones.
>
>
> --
> Nels Lindquist
> nlindq at maei.ca
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
More information about the horde
mailing list