[horde] A fatal error has occurred: Argument 1 passed to Horde_Imap_Client_Exception

Paul Griffith paulg at eecs.yorku.ca
Fri Mar 16 18:18:13 UTC 2018


Hello,

One of our users was trying to read a mail and he got the error below.  
Any ideas, we are running latest stable release.


A fatal error has occurred
Argument 1 passed to Horde_Imap_Client_Exception::messagePrintf() must 
be of the type array, string given, called in 
/local/horde/pear/php/Horde/Imap/Client/Socket.php on line 4832
Details have been logged for the administrator.


When I check the log files I see the following.

2018-03-16T14:00:24.929171-04:00 bronze1 HORDE: [imp] TypeError: 
Argument 1 passed to Horde_Imap_Client_Exception::messagePrintf() must 
be of the type array, string given, called in 
/local/horde/pear/php/Horde/Imap/Client/Socket.php on line 4832 and 
defined in 
/local/horde/pear/php/Horde/Imap/Client/Exception.php:297#012Stack 
trace:#012#0 /local/horde/pear/php/Horde/Imap/Client/Socket.php(4832): 
Horde_Imap_Client_Exception->messagePrintf('Invalid data in...')#012#1 
/local/horde/pear/php/Horde/Imap/Client/Socket.php(4554): 
Horde_Imap_Client_Socket->_responseCode(Object(Horde_Imap_Client_Interaction_Pipeline), 
Object(Horde_Imap_Client_Interaction_Server_Tagged))#012#2 
/local/horde/pear/php/Horde/Imap/Client/Socket.php(4302): 
Horde_Imap_Client_Socket->_getLine(Object(Horde_Imap_Client_Interaction_Pipeline))#012#3 
/local/horde/pear/php/Horde/Imap/Client/Socket.php(4230): 
Horde_Imap_Client_Socket->_sendCmdChunk(Object(Horde_Imap_Client_Interaction_Pipeline), 
Array)#012#4 /local/horde/pear/php/Horde/Imap/Client/Socket.php(2832): 
Horde_Imap_Client_Socket->_sendCmd(Object(Horde_Imap_Client_Interaction_Pipeline))#012#5 
/local/horde/pear/php/Horde/Imap/Client/Base.php(2579): 
Horde_Imap_Client_Socket->_fetch(Object(Horde_Imap_Client_Fetch_Results), 
Array)#012#6 /local/horde/pear/php/Horde/Imap/Client/Base.php(2473): 
Horde_Imap_Client_Base->_fetchWrapper(Object(Horde_Imap_Client_Mailbox), 
Object(Horde_Imap_Client_Fetch_Query), Array)#012#7 
/local/horde/imp/lib/Imap.php(718): 
Horde_Imap_Client_Base->fetch(Object(Horde_Imap_Client_Mailbox), 
Object(Horde_Imap_Client_Fetch_Query), Array)#012#8 
/local/horde/imp/lib/Contents.php(1620): IMP_Imap->__call('fetch', 
Array)#012#9 /local/horde/imp/lib/Contents.php(321): 
IMP_Contents->_fetchData(Object(Horde_Imap_Client_Fetch_Query))#012#10 
/local/horde/imp/lib/Contents.php(539): IMP_Contents->getBodyPart(1, 
Array)#012#11 /local/horde/imp/lib/Contents.php(578): 
IMP_Contents->getMIMEPart(1)#012#12 
/local/horde/imp/lib/Contents.php(1462): IMP_Contents->renderMIMEPart(1, 
2)#012#13 /local/horde/imp/lib/Ajax/Application/ShowMessage.php(295): 
IMP_Contents->getInlineOutput(Array)#012#14 
/local/horde/imp/lib/Ajax/Queue.php(450): 
IMP_Ajax_Application_ShowMessage->showMessage(Array)#012#15 
/local/horde/imp/lib/Ajax/Application.php(114): 
IMP_Ajax_Queue->message(Object(IMP_Indices), true, true)#012#16 
/local/horde/pear/php/Horde/Core/Ajax/Application.php(81): 
IMP_Ajax_Application->_init()#012#17 
/local/horde/pear/php/Horde/Core/Factory/Ajax.php(44): 
Horde_Core_Ajax_Application->__construct('imp', Object(Horde_Variables), 
'flagMessages', 'wtOprbK68zAZAIx...')#012#18 
/local/horde/services/ajax.php(52): 
Horde_Core_Factory_Ajax->create('imp', Object(Horde_Variables), 
'flagMessages', 'wtOprbK68zAZAIx...')#012#19 {main} [pid 356445 on line 
74 of "/local/horde/pear/php/Horde/ErrorHandler.php"]


Thank you

Paul



More information about the horde mailing list