6.0.0-beta1
9/1/25

[#12892] PHP error strlen() expects parameter 1 to be string, object given [pid 6600 on line 288 of "/usr/share/pear/Horde/Url.php"]
Summary PHP error strlen() expects parameter 1 to be string, object given [pid 6600 on line 288 of "/usr/share/pear/Horde/Url.php"]
Queue IMP
Queue Version 6.1.6
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester asa (at) isac (dot) gov (dot) in
Created 12/28/2013 (4265 days ago)
Due
Updated 12/30/2014 (3898 days ago)
Assigned
Resolved 12/30/2014 (3898 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
12/30/2014 06:29:51 PM Michael Slusarz State ⇒ Not A Bug
 
07/09/2014 06:19:06 AM Michael Slusarz State ⇒ Stalled
 
12/28/2013 03:27:44 AM asa (at) isac (dot) gov (dot) in Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ PHP error strlen() expects parameter 1 to be string, object given [pid 6600 on line 288 of "/usr/share/pear/Horde/Url.php"]
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
As suggested had added the following:

     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.  As suggested, I am 
including here the relevant debug output (which I feel is relevant).

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

Saved Queries