6.0.0-alpha12
6/1/25

[#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 slusarz (at) horde (dot) org
Requester alar.sing (at) gmail (dot) com
Created 02/14/2008 (6317 days ago)
Due
Updated 03/21/2008 (6281 days ago)
Assigned 02/24/2008 (6307 days ago)
Resolved 03/21/2008 (6281 days ago)
Milestone
Patch No

History
03/21/2008 01:59:45 AM Michael Slusarz State ⇒ No Feedback
 
03/11/2008 04:39:54 AM 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 02:18:53 PM alar (dot) sing (at) gmail (dot) com Comment #7 Reply to this comment
And what that means?
02/24/2008 12:26:53 PM Jan Schneider Comment #6
State ⇒ Assigned
Reply to this comment
Looks like $ptr['d'] is containing a PEAR_Error then.
02/19/2008 07:50:51 PM alar (dot) sing (at) gmail (dot) com Comment #5 Reply to this comment
var_dump($key) gives string(4) "msgl"
02/18/2008 03:05:28 AM 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 06:35:14 AM Chuck Hagenbuch Assigned to Michael Slusarz
State ⇒ Assigned
 
02/14/2008 11:06:04 PM 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 09:36:47 PM 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 08:27:41 PM alar (dot) sing (at) gmail (dot) com Comment #1
Priority ⇒ 3. High
Type ⇒ Bug
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
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

Saved Queries