6.0.0-beta1
9/24/25

[#4830] Undefined index: in /var/www/html/horde/imp/lib/Mailbox.php on line 736
Summary Undefined index: in /var/www/html/horde/imp/lib/Mailbox.php on line 736
Queue IMP
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester vilius (at) lnk (dot) lt
Created 01/02/2007 (6840 days ago)
Due
Updated 01/04/2007 (6838 days ago)
Assigned 01/02/2007 (6840 days ago)
Resolved 01/03/2007 (6839 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/04/2007 07:14:34 PM Chuck Hagenbuch Comment #8 Reply to this comment
Makes sense, I committed it.
01/04/2007 08:40:47 AM vilius (at) lnk (dot) lt Comment #7
New Attachment: Mailbox.php.patch Download
Reply to this comment
This is still happening. Attached patch solves the problem for me.
01/03/2007 04:59:24 AM Michael Slusarz Comment #6
State ⇒ Resolved
Reply to this comment
Looking at this for a few minutes, it does seem that the only reason 
this would not work is if the cache files are off.  As mentioned 
before, it really doesn't matter whether this index exists or not - as 
long as it doesn't exist at the end of the unset() call, that is all 
we care about.  So silencing the error message turns out to be just 
fine here.
01/02/2007 10:19:31 PM Chuck Hagenbuch Assigned to Michael Slusarz
State ⇒ Assigned
 
01/02/2007 07:48:02 PM vilius (at) lnk (dot) lt Comment #5 Reply to this comment
Can't you at least correlate it with access log entries?
Thanks for the tip Chuck.



Seems like it happens on expunge:

"GET 
/horde/imp/mailbox.php?actionID=expunge_mailbox&page=1&mailbox=INBOX 
HTTP/1.1"
01/02/2007 07:43:18 PM vilius (at) lnk (dot) lt Comment #4 Reply to this comment
Yes, i'm using mailbox caching, however I've had troubles in the past 
with it so now I know that I need to clear the cache before reporting :)
01/02/2007 07:22:49 PM Michael Slusarz Comment #3 Reply to this comment
Are you using mailbox caching?  If so, you probably have old cache 
files lying around that may be out-of-date due to code changes in IMP.



We could obviously simply silence the call on line 736 (it is, after 
all, just an unset() call and it doesn't really matter if the data 
previously existed or not), but I'd also like to know why it is 
failing at this point - or else we are simply doing a "turn up the 
radio if your car is making funny sounds" fix.
01/02/2007 06:25:15 PM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
Can't you at least correlate it with access log entries?
01/02/2007 11:32:54 AM vilius (at) lnk (dot) lt Comment #1
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Queue ⇒ IMP
Summary ⇒ Undefined index: in /var/www/html/horde/imp/lib/Mailbox.php on line 736
Type ⇒ Bug
Reply to this comment
After recent updates I constantly see:



PHP Notice:  Undefined index:   in 
/var/www/html/horde/imp/lib/Mailbox.php on line 736



in apache logs. Unfortuanelly I haven't seen this message by myself, 
so can't say when it happens.

Saved Queries