[#6260] Cannot use object of type PEAR_Error as array in /srv/www/htdocs/horde/lib/Horde/IMAP/Cache.php on line 80
Summary Cannot use object of type PEAR_Error as array in /srv/www/htdocs/horde/lib/Horde/IMAP/Cache.php on line 80
Queue Horde Framework Packages
Queue Version HEAD
Type Bug
State No Feedback
Priority 2. Medium
Owners Michael Slusarz <slusarz (at) horde (dot) org>
Requester alar (dot) sing (at) gmail (dot) com
Created 02/14/2008 (85 days ago)
Due
Updated 03/20/2008 (50 days ago)
Assigned 02/24/2008 (75 days ago)
Resolved 03/20/2008 (50 days ago)
Attachments
Milestone
Patch

History
03/20/2008 Michael Slusarz State ⇒ No Feedback
 
03/11/2008 Michael Slusarz Comment #8 Reply to this comment
> And what that means?

Add a print_r($ptr['d']) to the same location as before an report back on the results.
02/26/2008 alar (dot) sing (at) gmail (dot) com Comment #7 Reply to this comment
And what that means?
02/24/2008 Jan Schneider Comment #6
State ⇒ Assigned
Reply to this comment
Looks like $ptr['d'] is containing a PEAR_Error then.
02/19/2008 alar (dot) sing (at) gmail (dot) com Comment #5 Reply to this comment
var_dump($key) gives string(4) "msgl"
02/17/2008 Michael Slusarz Comment #4
State ⇒ Feedback
Reply to this comment
This error message makes no sense.  Everywhere we call getCache() in IMP, the 3rd parameter ($key) is *always* a static string.  You will need to add a print_r($key) or var_dump($key) in IMAP_Cache right above line 80 to figure out what $key is.
02/15/2008 Chuck Hagenbuch State ⇒ Assigned
Assigned to Michael Slusarz
 
02/14/2008 alar (dot) sing (at) gmail (dot) com Comment #3 Reply to this comment
I tested with rc2 and 14.02.2008 nightly build
Tested with file and eaccelerator cache
02/14/2008 Chuck Hagenbuch Comment #2
Priority ⇒ 2. Medium
State ⇒ Feedback
Reply to this comment
I'm not entirely sure I follow. Are you actually using HEAD? If so when was it updated?
02/14/2008 alar (dot) sing (at) gmail (dot) com Comment #1
Queue ⇒ Horde Framework Packages
Summary ⇒ Cannot use object of type PEAR_Error as array in /srv/www/htdocs/horde/lib/Horde/IMAP/Cache.php on line 80
Type ⇒ Bug
Priority ⇒ 3. High
State ⇒ Unconfirmed
Reply to this comment
If horde cache is configured then IMP to not show mails gives error:
Cannot use object of type PEAR_Error as array in /srv/www/htdocs/horde/lib/Horde/IMAP/Cache.php on line 80