6.0.0-alpha12
6/9/25

[#1766] Notice: Array to string conversion in /www/webapps/htdocs/monbureau-v3/imp/lib/MIME/Headers.php on line 75
Summary Notice: Array to string conversion in /www/webapps/htdocs/monbureau-v3/imp/lib/MIME/Headers.php on line 75
Queue IMP
Queue Version 4.0.3
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester luc.germain (at) usherbrooke (dot) ca
Created 04/12/2005 (7363 days ago)
Due
Updated 04/14/2005 (7361 days ago)
Assigned 04/14/2005 (7361 days ago)
Resolved 04/14/2005 (7361 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/14/2005 06:02:15 AM Michael Slusarz Comment #4
State ⇒ Resolved
Reply to this comment
The messages you are receiving are broken.  RFC 2369 [3] explicity 
states for List-* Headers: "There MUST be no more than one of each 
field present in any given message."  Errors-to is a non-standard 
header (see RFC 2076), but would not be causing the error you report 
(this error is only triggered by list headers).



I'll go ahead and add a check in MIME_Headers::getValue() to 
explicitly prevent this from happening in the future.
04/14/2005 12:31:16 AM Jan Schneider State ⇒ Feedback
 
04/14/2005 12:31:02 AM Jan Schneider Comment #3 Reply to this comment
I remember this too. What Horde version are you using?
04/13/2005 05:49:15 PM Chuck Hagenbuch Comment #2
Assigned to Michael Slusarz
State ⇒ Assigned
Reply to this comment
I have a feeling this was fixed at some point, but I can't find the 
fix or a ticket...
04/12/2005 04:40:10 PM luc (dot) germain (at) usherbrooke (dot) ca Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Notice: Array to string conversion in /www/webapps/htdocs/monbureau-v3/imp/lib/MIME/Headers.php on line 75
Queue ⇒ IMP
Reply to this comment
I see this notice when opening some email messages in IMP H3 4.0.3 
(and previous too):



Notice: Array to string conversion in 
/www/webapps/htdocs/monbureau-v3/imp/lib/MIME/Headers.php on line 75



I tracked down the problem to messages having multiple copies of the 
same headers like "Errors-to:" or Lists headers like "List-Owner:" 
etc. (This happens for example when a list address is a member of 
another list, so the mail passes through two lists and have the 
headers of each list).



Displaying all headers show a lot of theses "Notice:"  messages but 
all copies of headers are shown correctly (preceded by list bullets). 
When showing list info headers, "Notice" messages also show, and 
headers with multiple entries simply show as "Array".



Not a big deal since it's a pretty rare situation, but maybe it is 
simple to solve?



Thanks.



Luc.

Saved Queries