[imp] Invalid argument supplied for foreach()

Karsten Schlimme karsten at schlimme.net
Mon Sep 8 18:59:54 UTC 2014


Hi,

I've a 32MB horde.log, generated the last 9 days, with 250.000 lines 
repeating the following errors:

2014-09-08T08:56:38+00:00 ERR: HORDE Buffer contents:  [pid 13274 on 
line 162 of "/usr/share/php/Horde/Rpc/ActiveSync.php"]
2014-09-08T08:56:40+00:00 NOTICE: HORDE [horde] User 
karsten at schlimme.net logged out of Horde (192.168.10.11) [pid 13277 on 
line 107 of "/var/www/webmail/login.php"]
2014-09-08T08:56:40+00:00 WARN: HORDE [imp] PHP ERROR: Invalid argument 
supplied for foreach() [pid 13277 on line 96 of 
"/var/www/webmail/imp/lib/Factory/MailboxList.php"]
2014-09-08T08:56:54+00:00 NOTICE: HORDE [horde] Login success for 
karsten at schlimme.net to horde (192.168.10.11) [pid 13276 on line 164 of 
"/var/www/webmail/login.php"]
2014-09-08T08:56:54+00:00 NOTICE: HORDE [imp] Login success for 
karsten at schlimme.net (192.168.10.11) (forwarded for [123.158.111.194]) 
to {imap://mail-srv/} [pid 13276 on line 157 of 
"/var/www/webmail/imp/lib/Auth.php"]
2014-09-08T10:56:54+02:00 EMERG: HORDE [imp] String contains non-ASCII 
characters. [pid 13276 on line 73 of 
"/usr/share/php/Horde/Imap/Client/Data/Format/String.php"]
2014-09-08T08:57:13+00:00 NOTICE: HORDE [imp] Login success for 
caro at schlimme.net (192.168.10.11) (forwarded for [123.204.153.216]) to 
{imap://mail-srv/} [pid 13275 on line 157 of 
"/var/www/webmail/imp/lib/Auth.php"]
2014-09-08T08:57:17+00:00 NOTICE: HORDE [imp] Login success for 
caro at schlimme.net (192.168.10.11) (forwarded for [123.204.153.216]) to 
{imap://mail-srv/} [pid 13274 on line 157 of 
"/var/www/webmail/imp/lib/Auth.php"]
2014-09-08T08:57:17+00:00 ERR: HORDE Returning HTTP 500 while handling 
Sync command. [pid 17141 on line 159 of "/var/www/webmail/rpc.php"]
2014-09-08T08:57:17+00:00 ERR: HORDE Error in communicating with 
ActiveSync server: Folder not found in cache. [pid 17141 on line 162 of 
"/usr/share/php/Horde/Rpc/ActiveSync.php"]
2014-09-08T08:57:17+00:00 ERR: HORDE #0 
/usr/share/php/Horde/ActiveSync/Request/Sync.php(871): 
Horde_ActiveSync_Collections->getBackendIdForFolderUid('Trash')
#1 /usr/share/php/Horde/ActiveSync/Request/Sync.php(803): 
Horde_ActiveSync_Request_Sync->_parseSyncCommands(Array)
#2 /usr/share/php/Horde/ActiveSync/Request/Sync.php(209): 
Horde_ActiveSync_Request_Sync->_parseSyncFolders()
#3 /usr/share/php/Horde/ActiveSync/Request/Base.php(253): 
Horde_ActiveSync_Request_Sync->_handle()
#4 /usr/share/php/Horde/ActiveSync.php(880): 
Horde_ActiveSync_Request_Base->handle()
#5 /usr/share/php/Horde/Rpc/ActiveSync.php(143): 
Horde_ActiveSync->handleRequest('Sync', 'androidc1745561...')
#6 /var/www/webmail/rpc.php(159): Horde_Rpc_ActiveSync->getResponse(NULL)
#7 {main} [pid 17141 on line 162 of 
"/usr/share/php/Horde/Rpc/ActiveSync.php"]


The errors..

2014-09-08T08:56:40+00:00 WARN: HORDE [imp] PHP ERROR: Invalid argument 
supplied for foreach() [pid 13277 on line 96 of 
"/var/www/webmail/imp/lib/Factory/MailboxList.php"]
2014-09-08T10:56:54+02:00 EMERG: HORDE [imp] String contains non-ASCII 
characters. [pid 13276 on line 73 of 
"/usr/share/php/Horde/Imap/Client/Data/Format/String.php"]

..came on top of that 2 days ago (after Ubuntu-Server upgrade from 12.04 
to 14.04).



Am 08.09.2014 um 20:05 schrieb John H. Bennett III:
>
> Quoting azurIt <azurit at pobox.sk>:
>
>> Hi,
>>
>> i can see LOTS OF these warnings in horde log:
>>
>> 2014-09-08T06:37:46+02:00 WARN: HORDE [imp] PHP ERROR: Invalid 
>> argument supplied for foreach() [pid 31470 on line 96 of 
>> "/usr/share/horde/imp/lib/Factory/MailboxList.php"]
>>
>> Any hints how to correct the problem so log wasn't full of this? Thnx.
>>
>> azur
>> -- 
>> imp mailing list
>> Frequently Asked Questions: http://wiki.horde.org/FAQ
>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>
> I'm seeing this also.  It happens every time someone logs out of webmail.
>
> Sep  8 13:03:37 jbesmith HORDE: [imp] PHP ERROR: Invalid argument 
> supplied for foreach() [pid 2175 on line 96 of 
> "/home/httpd/html/horde/imp/lib/Factory/MailboxList.php"]
>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4225 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.horde.org/archives/imp/attachments/20140908/7da7dc59/attachment.bin>


More information about the imp mailing list