6.0.0-alpha10
5/14/25

[#15121] PHP "$config must be an array" bug when accessing address book contact group
Summary PHP "$config must be an array" bug when accessing address book contact group
Queue Turba
Queue Version 4.2.28
Type Bug
State Unconfirmed
Priority 3. High
Owners
Requester Martin (at) mhcreations (dot) co (dot) uk
Created 10/02/2022 (955 days ago)
Due 10/01/2022 (956 days ago)
Updated 10/04/2022 (953 days ago)
Assigned
Resolved
Milestone
Patch No

History
10/04/2022 11:18:33 AM martin (at) mhcreations (dot) co (dot) uk Comment #9 Reply to this comment
(( .local. varients of these files do not exist ))
10/04/2022 11:12:49 AM martin (at) mhcreations (dot) co (dot) uk Comment #8
New Attachment: backends.php Download
Reply to this comment
php file 2 of 2.


10/04/2022 11:11:59 AM martin (at) mhcreations (dot) co (dot) uk Comment #7
New Attachment: attributes.php Download
Reply to this comment
As requested;
10/04/2022 11:10:44 AM Ralf Lang Version ⇒ 4.2.28
 
10/04/2022 11:09:35 AM martin (at) mhcreations (dot) oc (dot) uk Comment #6 Reply to this comment
You can find the turba version from turba/lib/Application.php 
somewhere around line 60, depending on version.
Ahhh, found it.

version is  H5 (4.2.28)

I am unable to update this ticket to the correct version,

10/04/2022 10:32:55 AM Ralf Lang Comment #5 Reply to this comment

[Show Quoted Text - 13 lines]
Can you post backends.php backends.local.php attributes.php 
attributes.local.php

You can find the turba version from turba/lib/Application.php 
somewhere around line 60, depending on version.
10/04/2022 09:51:48 AM martin (at) mhcreations (dot) co (dot) uk Comment #4 Reply to this comment
Are you sure you are running Turba from Git Master (as noted in the 
ticket) on a horde 5.2.22 (as seen in the screenshot) base system?

Can you extract the addressbook configuration from the database? Can 
you provide the turba/config/addressbook file?
It might not be. It is Horde Version 5.2 but is running on a 
WHM/Cpanel system. I can't find anything on the server that indicates 
which Turba version it is.

There is no addressbook file in horde/turba/config

All files were last updated (by the system) 13th June 2022
10/04/2022 05:54:45 AM Ralf Lang Comment #3 Reply to this comment
Are you sure you are running Turba from Git Master (as noted in the 
ticket) on a horde 5.2.22 (as seen in the screenshot) base system?

Can you extract the addressbook configuration from the database? Can 
you provide the turba/config/addressbook file?
10/02/2022 02:49:45 PM martin (at) mhcreations (dot) co (dot) uk Comment #2
New Attachment: bugg.png Download
Reply to this comment
Bug screenshots attached as cant see them on the original bug report.
10/02/2022 02:48:25 PM Martin (at) mhcreations (dot) co (dot) uk Comment #1
Milestone ⇒
State ⇒ Unconfirmed
Patch ⇒ No
Queue ⇒ Turba
Due ⇒ 10/01/2022
Summary ⇒ PHP "$config must be an array" bug when accessing address book contact group
Type ⇒ Bug
Priority ⇒ 3. High
Reply to this comment
A client account has a Horde webmail set up with multiple address book 
groups. At some point the address book group "mark" returns a PHP 
fatal error when opened. Other address book groups work fine. System 
wide PHP is 7.4 .

I am unable to remove the address book group and making new address 
book groups (newMark) works fine.

I am unable to locate the Horde / Turba specific PHP error logs.

The error appears to be called from an Exception:
  /usr/local/cpanel/base/horde/turba/lib/Factory/Driver.php:55:         
     throw new InvalidArgumentException('$config must be an array');

Saved Queries