<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>PHP ERROR when deleting an e-mail.</title> 
  <pubDate>Fri, 10 Apr 2026 18:27:19 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/12593</link> 
  <atom:link rel="self" type="application/rss+xml" title="PHP ERROR when deleting an e-mail." href="https://bugs.horde.org/ticket/12593/rss" /> 
  <description>PHP ERROR when deleting an e-mail.</description> 
 
   
   
  <item> 
   <title>When deleting an e-mail in the horde.log is the following er</title> 
   <description>When deleting an e-mail in the horde.log is the following error:

2013-08-21T13:43:15+02:00 WARN: HORDE [imp] PHP ERROR: array_intersect_key(): Argument #1 is not an array [pid 3765 on line 276 of &quot;/usr/share/pear/Horde/Imap/Client/Cache/Backend/Cache.php&quot;]
2013-08-21T13:43:15+02:00 DEBUG: HORDE  1. Horde_Core_Ajax_Application-&gt;doAction() /var/www/webmail/services/ajax.php:58
 2. call_user_func() /usr/share/pear/Horde/Core/Ajax/Application.php:162
 3. IMP_Ajax_Application_Handler_Common-&gt;deleteMessages()
 4. IMP_Message-&gt;delete() /var/www/webmail/imp/lib/Ajax/Application/Handler/Common.php:221
 5. IMP_Imap-&gt;copy() /var/www/webmail/imp/lib/Message.php:229
 6. IMP_Imap-&gt;__call() /var/www/webmail/imp/lib/Message.php:229
 7. call_user_func_array() /var/www/webmail/imp/lib/Imap.php:571
 8. Horde_Imap_Client_Base-&gt;copy()
 9. Horde_Imap_Client_Socket-&gt;_copy() /usr/share/pear/Horde/Imap/Client/Base.php:3042
10. Horde_Imap_Client_Base-&gt;expunge() /usr/share/pear/Horde/Imap/Client/Socket.php:3290
11. Horde_Imap_Client_Socket-&gt;_expunge() /usr/share/pear/Horde/Imap/Client/Base.php:2056
12. Horde_Imap_Client_Socket-&gt;_sendCmd() /usr/share/pear/Horde/Imap/Client/Socket.php:1876
13. Horde_Imap_Client_Socket-&gt;_sendCmdChunk() /usr/share/pear/Horde/Imap/Client/Socket.php:3791
14. Horde_Imap_Client_Socket-&gt;_getLine() /usr/share/pear/Horde/Imap/Client/Socket.php:3861
15. Horde_Imap_Client_Socket-&gt;_serverResponse() /usr/share/pear/Horde/Imap/Client/Socket.php:4073
16. Horde_Imap_Client_Socket-&gt;_deleteMsgs() /usr/share/pear/Horde/Imap/Client/Socket.php:4268
17. Horde_Imap_Client_Base-&gt;_deleteMsgs() /usr/share/pear/Horde/Imap/Client/Socket.php:3738
18. Horde_Imap_Client_Cache-&gt;deleteMsgs() /usr/share/pear/Horde/Imap/Client/Base.php:3886
19. Horde_Imap_Client_Cache_Backend_Cache-&gt;deleteMsgs() /usr/share/pear/Horde/Imap/Client/Cache.php:218
20. array_intersect_key() /usr/share/pear/Horde/Imap/Client/Cache/Backend/Cache.php:276
21. Horde_ErrorHandler::errorHandler()

2013-08-21T13:43:15+02:00 DEBUG: HORDE [imp] SQL  (0,0006s)
    SELECT alarm_id, alarm_uid, alarm_start, alarm_end, alarm_methods,
      alarm_params, alarm_title, alarm_text, alarm_snooze, alarm_internal
      FROM horde_alarms WHERE alarm_dismissed = 0 AND ((alarm_snooze IS NULL
      AND alarm_start &lt;= &#039;2013-08-21T11:43:15&#039;) OR alarm_snooze &lt;=
      &#039;2013-08-21T11:43:15&#039;) AND (alarm_end IS NULL OR alarm_end &gt;=
      &#039;2013-08-21T11:43:15&#039;) AND (alarm_uid IS NULL OR alarm_uid = &#039;&#039; OR
      alarm_uid = &#039;xxxxxxx&#039;) ORDER BY alarm_start, alarm_end [pid 3765 on line 319 of &quot;/usr/share/pear/Horde/Db/Adapter/Mysqli.php&quot;]
</description> 
   <pubDate>Wed, 21 Aug 2013 11:59:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12593#t80162</link> 
  </item> 
   
  <item> 
   <title>So what is argument #1 to array_intersect_keys()?</title> 
   <description>So what is argument #1 to array_intersect_keys()?</description> 
   <pubDate>Wed, 21 Aug 2013 17:18:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12593#t80166</link> 
  </item> 
   
  <item> 
   <title>I do&#039;t know. I was hoping that someone can tell me.
I delet</title> 
   <description>I do&#039;t know. I was hoping that someone can tell me.
I delete only a e-mail in IMP and always get this error message in the horde.log. This issue affects all users. Even if you delete multiple email at once, you get the log entry for each.</description> 
   <pubDate>Thu, 22 Aug 2013 05:41:09 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12593#t80185</link> 
  </item> 
   
  <item> 
   <title>There is no way I can see that slicemap[&#039;s&#039;] can be anything</title> 
   <description>There is no way I can see that slicemap[&#039;s&#039;] can be anything but an array.  Unless someone can debug this, I&#039;m going to close this ticket.

Clear your cache as a possible workaround.</description> 
   <pubDate>Mon, 26 Aug 2013 21:34:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12593#t80371</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
