[Tickets #7181] Re: Fatal error: Cannot use object of type PEAR_Error as array in /usr/share/horde3/lib/Horde/IMAP/Cache.php on line 80

bugs at horde.org bugs at horde.org
Mon Aug 11 05:22:40 UTC 2008


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

Ticket URL: http://bugs.horde.org/ticket/7181
------------------------------------------------------------------------------
  Ticket             | 7181
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | Fatal error: Cannot use object of type PEAR_Error as
                     | array in /usr/share/horde3/lib/Horde/IMAP/Cache.php on
                     | line 80
  Queue              | Horde Framework Packages
  Version            | FRAMEWORK_3
  Type               | Bug
  State              | Feedback
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2008-08-11 01:22) wrote:

> What do you do to get this to happen? What are the actual versions involved?

According to the PEAR_Error output, looks like the cached value is  
empty.  We could change the:
$res === false
check to:
empty($res)
since if the return is empty, we know there is no serialized data  
anyway.  But it also would be good to know why we are setting the  
cache value to empty (assuming it is the code that is causing this and  
not a bad installation, etc.)





More information about the bugs mailing list