6.0.0-beta1
7/7/25

[#12607] Imap_Client: Call to a member function add() on a non-object
Summary Imap_Client: Call to a member function add() on a non-object
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester thomas.jarosch (at) intra2net (dot) com
Created 08/24/2013 (4335 days ago)
Due
Updated 08/24/2013 (4335 days ago)
Assigned
Resolved 08/24/2013 (4335 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/24/2013 11:57:00 PM Thomas Jarosch Comment #3
State ⇒ Not A Bug
Reply to this comment
I would need an IMAP debug log that caused this.
Can't reproduce ;) I'll reopen if I somehow manage to trigger it again 
(+ enable IMAP debug logs for this).

08/24/2013 11:21:45 PM Michael Slusarz Comment #2 Reply to this comment
I would need an IMAP debug log that caused this.
08/24/2013 01:12:54 PM Thomas Jarosch Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ Imap_Client: Call to a member function add() on a non-object
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
I've triggered a PHP error message with the search in imp, I just 
don't know how exactly.

[Sat Aug 24 14:57:14 2013] [error] [client 192.168.x.x] PHP Fatal 
error:  Call to a member function add() on a non-object in 
/usr/share/pear/Horde/Imap/Client/Socket.php on line 2253, referer: 
https://mailserver.com/horde/imp/dynamic.php?Horde=90kficmmg83vkkbsrcoej489k4&page=mailbox

I'm using Horde_Imap_Client is 2.12.1, the correct line
number in git HEAD for this issue is 2294:
----------------------------------------------
     protected function _parseSearch(
         Horde_Imap_Client_Interaction_Pipeline $pipeline,
         $data
     )
     {
         /* More than one search response may be sent. */
         $pipeline->data['searchresp']->add($data);
     }
----------------------------------------------

Saved Queries