6.0.0-beta1
7/4/25

[#12911] array_combine PHP ERROR in Imap Client
Summary array_combine PHP ERROR in Imap Client
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester maciej.uhlig (at) us (dot) edu (dot) pl
Created 01/10/2014 (4193 days ago)
Due
Updated 01/17/2014 (4186 days ago)
Assigned
Resolved 01/17/2014 (4186 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/17/2014 06:49:17 PM Michael Slusarz Comment #3
Assigned to Michael Slusarz
State ⇒ Resolved
Priority ⇒ 1. Low
Reply to this comment
That could only happen if the IMAP server returned incorrect 
information.  It would only affect cache data though, so it is best to 
simply do sanity checking and ignore the data if it is invalid.

Horde_Imap_Client 2.17.0
01/17/2014 06:49:09 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit f36b811aac6a337c477801f49fd102c52a700a39
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Fri Jan 17 11:45:54 2014 -0700

     [mms] When determining a sequence -> UID mapping, do sanity 
checking to make ensure data is valid (Bug #12911).

  .../Imap_Client/lib/Horde/Imap/Client/Base.php     |    9 ++++++++-
  framework/Imap_Client/package.xml                  |    2 ++
  2 files changed, 10 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/f36b811aac6a337c477801f49fd102c52a700a39
01/10/2014 11:55:35 AM maciej (dot) uhlig (at) us (dot) edu (dot) pl Comment #1
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Due ⇒ 01/10/2014
Summary ⇒ array_combine PHP ERROR in Imap Client
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Horde log shows ERROR:

2014-01-10T12:38:22+01:00 horde-5/a.b.c.d horde: [horde] PHP ERROR: 
array_combine(): Both parameters should have at least 1 element [pid 
4149 on line 3659 of "/usr/share/php/Horde/Imap/Client/Base.php"]

I even don't know what it concerns.

Saved Queries