<?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>hook_msglist_format Fatal error: Cannot use object of type PEAR_Error as array</title> 
  <pubDate>Thu, 09 Apr 2026 20:04:46 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7976</link> 
  <atom:link rel="self" type="application/rss+xml" title="hook_msglist_format Fatal error: Cannot use object of type PEAR_Error as array" href="https://bugs.horde.org/ticket/7976/rss" /> 
  <description>hook_msglist_format Fatal error: Cannot use object of type PEAR_Error as array</description> 
 
   
   
  <item> 
   <title>I activated under dimp the predefined hook:



 if (!functio</title> 
   <description>I activated under dimp the predefined hook:



 if (!function_exists(&#039;_dimp_hook_msglist_format&#039;)) {

     function _dimp_hook_msglist_format($mailbox, $uid)

     {

And in dimp works like a charm. But switching to imp I got:

Fatal error: Cannot use object of type PEAR_Error as array in /var/www/perso/horde-webmail-1.2.1/imp/mailbox.php on line 786



So I patched mailbox.php no to use the object if pear_error, but there is may be other things to do.. Anyway it works



Dom

</description> 
   <pubDate>Thu, 12 Feb 2009 16:13:06 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7976#t52508</link> 
  </item> 
   
  <item> 
   <title>I used the diff in the wrong side. Here is the patch again!
</title> 
   <description>I used the diff in the wrong side. Here is the patch again!





&gt; I activated under dimp the predefined hook:

&gt;

&gt;  if (!function_exists(&#039;_dimp_hook_msglist_format&#039;)) {

&gt;      function _dimp_hook_msglist_format($mailbox, $uid)

&gt;      {

&gt; And in dimp works like a charm. But switching to imp I got:

&gt; Fatal error: Cannot use object of type PEAR_Error as array in 

&gt; /var/www/perso/horde-webmail-1.2.1/imp/mailbox.php on line 786

&gt;

&gt; So I patched mailbox.php no to use the object if pear_error, but 

&gt; there is may be other things to do.. Anyway it works

&gt;

&gt; Dom

&gt;

</description> 
   <pubDate>Thu, 12 Feb 2009 16:16:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7976#t52509</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/imp/mailbox.php?rt=horde&amp;r1=2.617.4.88&amp;r2=2.617.4.89&amp;ty=u</description> 
   <pubDate>Sun, 15 Feb 2009 05:07:37 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7976#t52577</link> 
  </item> 
   
  <item> 
   <title>Committed (just called is_array instead, to catch false or w</title> 
   <description>Committed (just called is_array instead, to catch false or whatever too), thanks!</description> 
   <pubDate>Sun, 15 Feb 2009 05:07:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7976#t52578</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/imp/mailbox.php?rt=horde&amp;r1=2.617.4.89&amp;r2=2.617.4.90&amp;ty=u</description> 
   <pubDate>Mon, 16 Feb 2009 21:15:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7976#t52611</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
