6.0.0-RC7
6/29/26

[#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 2/14/08 (6710 days ago)
Due
Updated 3/21/08 (6674 days ago)
Assigned 2/24/08 (6700 days ago)
Resolved 3/21/08 (6674 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
451 Michael Slusarz State ⇒ No Feedback
 
544 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.
532 alar (dot) sing (at) gmail (dot) com Comment #7 Reply to this comment
And what that means?
5312 Jan Schneider Comment #6
State ⇒ Assigned
Reply to this comment
Looks like $ptr['d'] is containing a PEAR_Error then.
517 alar (dot) sing (at) gmail (dot) com Comment #5 Reply to this comment
var_dump($key) gives string(4) "msgl"
283 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.
146 Chuck Hagenbuch Assigned to Michael Slusarz
State ⇒ Assigned
 
411 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
479 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?
418 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