[imp] PHP error strlen() expects parameter 1 to be string, object given [pid 6600 on line 288 of "/usr/share/pear/Horde/Url.php"]

ANANT S ATHAVALE asa at isac.gov.in
Tue Dec 24 08:28:38 UTC 2013


  ----- Message from Michael M Slusarz <slusarz at horde.org> ---------
   Date: Tue, 17 Dec 2013 23:01:52 -0700
   From: Michael M Slusarz <slusarz at horde.org>
Subject: Re: [imp] PHP error strlen() expects parameter 1 to be string,
object given [pid 6600 on line 288 of "/usr/share/pear/Horde/Url.php"]
     To: imp at lists.horde.org

> Quoting ANANT S ATHAVALE <asa at isac.gov.in>:
>
>> Dear List,
>>
>> Getting the following warning in Horde logs.  Is it ignorable?
>>
>> Dec 18 2013 09:34:31 WARN: HORDE [imp] PHP ERROR: strlen() expects
>> parameter 1 to be string, object given [pid 6600 on line 288 of
>> "/usr/share/pear/Horde/Url.php"]
>
> Probably.  But would be nice to fix the issue.
>
> On line 284 of Horde_Url, would be great if you could add this debug
line:
>
> if (is_object($v)) {
>    Horde::debug($v);
> }
>
> and post the debug output in a bug report.
>
> michael
>
> ___________________________________
> Michael Slusarz [slusarz at horde.org]
>
> --
> imp mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQTo unsubscribe,
> mail: imp-unsubscribe at lists.horde.org

----- End message from Michael M Slusarz <slusarz at horde.org> -----

I found today the following in my debug log corresponding to my error.

2013-12-24T11:43:11+05:30 DEBUG: Variable information:
object(Horde_Support_ObjectStub)#169 (1) {
  ["_data":protected]=>
  object(stdClass)#172 (0) {
  }
}

Backtrace:
1. Horde_Core_Ajax_Application->doAction()
/var/www/horde/services/ajax.php:58
2. call_user_func() /usr/share/pear/Horde/Core/Ajax/Application.php:171
3. IMP_Ajax_Application_Handler_Dynamic->messageMimeTree()
4. IMP_Contents->getTree()
/var/www/horde/imp/lib/Ajax/Application/Handler/Dynamic.php:641
5. IMP_Contents->_addTreeNodes() /var/www/horde/imp/lib/Contents.php:1131
6. IMP_Contents->_addTreeNodes() /var/www/horde/imp/lib/Contents.php:1171
7. IMP_Contents->getSummary() /var/www/horde/imp/lib/Contents.php:1152
8. Horde::link() /var/www/horde/imp/lib/Contents.php:861
9. Horde_Url->link() /usr/share/pear/Horde.php:705
10. Horde_Url->__toString() /usr/share/pear/Horde/Url.php:324
11. Horde_Url->toString() /usr/share/pear/Horde/Url.php:309
12. Horde_Url->_getParameters() /usr/share/pear/Horde/Url.php:263
13. Horde::debug() /usr/share/pear/Horde/Url.php:285

If you feel, if this is really the correct debug log extract, I will file a
bug report.

-anant
-- 
           Regards
            Anant
------------------------------------------------------------------------------
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
------------------------------------------------------------------------------



More information about the imp mailing list