6.0.0-alpha12
6/16/25

[#10733] LOG errors for ParseAddressList, _isGroup and _splitAddress of Rfc822.php
Summary LOG errors for ParseAddressList, _isGroup and _splitAddress of Rfc822.php
Queue Horde Groupware Webmail Edition
Queue Version 4.0.3
Type Bug
State Duplicate
Priority 1. Low
Owners
Requester jcblanco (at) fi (dot) upm (dot) es
Created 11/10/2011 (4967 days ago)
Due 11/10/2011 (4967 days ago)
Updated 11/11/2011 (4966 days ago)
Assigned
Resolved 11/11/2011 (4966 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/11/2011 04:22:04 PM Jan Schneider Comment #2
State ⇒ Duplicate
Reply to this comment
Duplicate of bug #10619.
11/10/2011 04:43:54 PM jcblanco (at) fi (dot) upm (dot) es Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ LOG errors for ParseAddressList, _isGroup and _splitAddress of Rfc822.php
Due ⇒ 11/10/2011
Queue ⇒ Horde Groupware Webmail Edition
Milestone ⇒
Patch ⇒ No
Reply to this comment
I'm having various groups of three errors int the LOG, all errors are 
about passing an array when a string is expected.

2011-11-10T17:21:50+01:00 NOTICE: HORDE [imp] PHP ERROR: Array to 
string conversion [pid 23321 on line 156 of 
"/nas/www/hordewebmail/pear/php/Horde/Mail/Rfc822.php"]
2011-11-10T17:21:50+01:00 WARN: HORDE [imp] PHP ERROR: explode() 
expects parameter 2 to be string, array given [pid 23321 on line 271 
of "/nas/www/hordewebmail/pear/php/Horde/Mail/Rfc822.php"]
2011-11-10T17:21:50+01:00 WARN: HORDE [imp] PHP ERROR: explode() 
expects parameter 2 to be string, array given [pid 23321 on line 208 
of "/nas/www/hordewebmail/pear/php/Horde/Mail/Rfc822.php"]

Debugging the content of $address in this lines gives a content as
  array (
   0 =>
   array (
     'inner' => 'news@mailing.perfumes24hours.com',
     'personal' => 'perfumes24horas.com',
   ),
)

I haven't had the time to review all the calls to parseAddressList but 
a search of the calls shows that in line 974 of imp/lib/Compose.php is 
calling Horde_Mime_Address::parseAddressList wich then calls to 
Horde_Mail_Rfc822::parseAddressList with an array as parameter.

I don't know if this is what is causing the error or if this the only 
possible cause


Saved Queries