[Tickets #10733] LOG errors for ParseAddressList, _isGroup and _splitAddress of Rfc822.php
bugs at horde.org
bugs at horde.org
Thu Nov 10 16:43:54 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/10733
------------------------------------------------------------------------------
Ticket | 10733
Created By | jcblanco at fi.upm.es
Summary | LOG errors for ParseAddressList, _isGroup and
| _splitAddress of Rfc822.php
Queue | Horde Groupware Webmail Edition
Version | 4.0.3
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
jcblanco at fi.upm.es (2011-11-10 16:43) wrote:
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 at 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
More information about the bugs
mailing list