6.0.0-beta1
8/9/25

[#5552] Error when number of new messages in mailbox doesn't match sidebar/portal display
Summary Error when number of new messages in mailbox doesn't match sidebar/portal display
Queue IMP
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners
Requester rick (at) emery (dot) homelinux (dot) net
Created 07/12/2007 (6603 days ago)
Due
Updated 07/17/2007 (6598 days ago)
Assigned
Resolved 07/17/2007 (6598 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
07/17/2007 08:00:43 AM Michael Slusarz Comment #2
State ⇒ Resolved
Reply to this comment
It looks like your cache files are out of date.  There have been 
improvements the past few months to prevent this from happening, but 
the best solution is to delete all cache files.  That being said, I 
have added additional error checking code to prevent the display of 
error messages.
07/12/2007 12:23:52 PM rick (at) emery (dot) homelinux (dot) net Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Error when number of new messages in mailbox doesn't match sidebar/portal display
Queue ⇒ IMP
Reply to this comment
I updated from CVS yesterday (July 11th), updated the framework, and 
updated all prefs and configuration files, and still had this problem 
this morning. I've gotten the error since I set this server up about 
two months ago, running CVS HEAD horde and imp with Dovecot IMAP.



I'm getting an error when I try to open a folder and the "new message" 
count in my sidebar is different than the actual number of new 
messages in the folder. If, after getting the error, I select the 
folder again, it opens with no problem, so this is a minor annoyance 
at best. It seems to happen only after login, and I've only noticed it 
with my Inbox (though I haven't specifically tested it with other 
folders). An example would be that I log in (loading the portal page) 
and see that there are 12 new messages in my Inbox (according to the 
sidebar). I look at some things on the portal page, taking a few 
minutes, then click on "Inbox". I'll get the error, then click on 
"Inbox" again, and the folder will load with 14 new messages (clearly, 
I got new mail since I logged in but the sidebar hadn't updated yet). 
The error is:



Notice: Undefined index: 7 in 
[path_to_horde]/imp/lib/MIME/Contents.php on line 134



Fatal error: Call to undefined method PEAR_Error::findBody() in

[path_to_horde]/imp/lib/IMAP/MailboxCache.php on line 606



The index number in the error can be different; it was 7 when I wrote 
the error down.

Saved Queries