[Tickets #7976] hook_msglist_format Fatal error: Cannot use object of type PEAR_Error as array

bugs at horde.org bugs at horde.org
Thu Feb 12 16:13:06 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7976
------------------------------------------------------------------------------
  Ticket             | 7976
  Created By         | dom.lalot at gmail.com
  Summary            | hook_msglist_format Fatal error: Cannot use object of
                     | type PEAR_Error as array
  Queue              | IMP
  Version            | 4.3.2
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
+New Attachment     | Nouveau Document texte.txt
------------------------------------------------------------------------------


dom.lalot at gmail.com (2009-02-12 11:13) wrote:

I activated under dimp the predefined hook:

  if (!function_exists('_dimp_hook_msglist_format')) {
      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







More information about the bugs mailing list