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

noreply at bugs.horde.org noreply at bugs.horde.org
Sat Dec 28 03:27:45 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12892
------------------------------------------------------------------------------
  Ticket             | 12892
  Created By         | asa at isac.gov.in
  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
  Version            | 6.1.6
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


asa at isac.gov.in (2013-12-28 03:27) wrote:

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






More information about the bugs mailing list