Ticket #1696 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Catchable fatal error When Using Horde Routes

Reported by: rhondawinn Assigned to: lakiboy
Priority: high Milestone:
Component: SGL - Url Severity: need feedback
Keywords: horde, routes, url Cc:


Installed latest bugfix branch - 0.6.6 and then horde.

Error received:

Catchable fatal error: Argument 1 passed to SGL_URL2::construct() must be an instance of Horde_Routes_Util, instance of Horde_Routes_Utils given, called in \lib\SGL\Request\Browser2.php on line 149 and defined in \lib\SGL\Url2.php on line 26

Seems to be a typo in \lib\SGL\Url2.php

public function construct(Horde_Routes_Util $oRoutes)

should be

public function construct(Horde_Routes_Utils $oRoutes)


patch.2.diff (8.0 kB) - added by rhondawinn on 12/22/08 12:24:15.
patch.diff (0.5 kB) - added by rhondawinn on 12/22/08 12:26:29.

Change History

12/22/08 12:24:15 changed by rhondawinn

  • attachment patch.2.diff added.

12/22/08 12:26:29 changed by rhondawinn

  • attachment patch.diff added.

12/22/08 12:27:37 changed by rhondawinn

  • keywords changed from horde, routes, redirects to horde, routes, url.
  • component changed from SGL - HTTP to SGL - Url.
  • milestone deleted.

Disregard patch.2.diff

12/23/08 11:35:36 changed by demian

  • status changed from new to closed.
  • resolution set to fixed.

(In [4228]) name of Horde_Routes_Util changed to Horde_Routes_Utils, fixes #1696

12/24/08 05:16:16 changed by lakiboy

I'm curious what PHP version you have, rhondawinn. This error doesn't come up in PHP 5.2.6 on a Mac.