demianturner / sgl-docs-tickets-migration-test

0 stars 0 forks source link

Catchable fatal error When Using Horde Routes #1696

Closed demianturner closed 11 years ago

demianturner commented 11 years ago

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)
demianturner commented 11 years ago

[rhondawinn] Disregard patch.2.diff

demianturner commented 11 years ago

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

demianturner commented 11 years ago

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