Ultimate SEO Urls

Fatal Error on Phoenix 1.0.8.19 - Ultimate SEO Urls

Fatal Error on Phoenix 1.0.8.19

by artfulweb » Sat Oct 15, 2022 6:34 pm

Hi there,
Upgrading to Phoenix 1.0.8.19 the following fatal error makes the login page blank and this no way to get in:
======

PHP Fatal error: Uncaught Error: Call to a member function get_prefix() on null in /xx/xx/xx/catalog/includes/system/override/usu_linker.php:10
Stack trace:
#0 /xx/xx/xx/catalog/includes/system/versioned/1.0.8.1/hooks.php(166): usu_linker::listen_hrefLink(Array)
#1 /xx/xx/xx/catalog/includes/system/versioned/1.0.8.5/href.php(137): hooks->chain('hrefLink', Array)
#2 /xx/xx/xx/catalog/includes/system/versioned/1.0.8.5/href.php(142): Href->link()
#3 /homepages/35/d567846515/htdocs/cav2mt/includes/template_top.php(21): Href->__toString()
#4 /xx/xx/xx/catalog/admin/login.php(56): require('/homepages/35/d...')
#5 {main}
thrown in /xx/xx/xx/catalog/includes/system/override/usu_linker.php on line 10

===
NOTE: this version of Phoenix changed the includes/system/versioned/1.0.8.5/href.php to add :
on line 19
protected $hooks = null;

on line 33
public function set_hooks(&$hooks) {
$this->hooks =& $hooks;
return $this;
}
and changed line 131 FROM
$chain = $GLOBALS['all_hooks']->chain('hrefLink', $chain);

TO
$chain = ($this->hooks ?? $GLOBALS['all_hooks'])->chain('hrefLink', $chain);
artfulweb
VIP Member
VIP Member
Posts: 119
Joined: Thu Oct 29, 2020 12:34 pm
Contact:

Ultimate SEO Urls for v1.0.8.19

by CGIFTER » Tue Nov 15, 2022 10:17 pm

Hello,
Anyone been able to achieve this fit? Ultimate SEO Urls for 1.0.8.19? Any help will be highly appreciated. Be Blessed.

C. Gifter
CGIFTER
Posts: 7
Joined: Sun Apr 11, 2021 5:29 am
Contact:

Re: Fatal Error on Phoenix 1.0.8.19

by radhavallabh » Wed Jan 25, 2023 10:41 am

artfulweb wrote:Hi there,
Upgrading to Phoenix 1.0.8.19 the following fatal error makes the login page blank and this no way to get in:
======

PHP Fatal error: Uncaught Error: Call to a member function get_prefix() on null in /xx/xx/xx/catalog/includes/system/override/usu_linker.php:10
Stack trace:
#0 /xx/xx/xx/catalog/includes/system/versioned/1.0.8.1/hooks.php(166): usu_linker::listen_hrefLink(Array)
#1 /xx/xx/xx/catalog/includes/system/versioned/1.0.8.5/href.php(137): hooks->chain('hrefLink', Array)
#2 /xx/xx/xx/catalog/includes/system/versioned/1.0.8.5/href.php(142): Href->link()
#3 /homepages/35/d567846515/htdocs/cav2mt/includes/template_top.php(21): Href->__toString()
#4 /xx/xx/xx/catalog/admin/login.php(56): require('/homepages/35/d...')
#5 {main}
thrown in /xx/xx/xx/catalog/includes/system/override/usu_linker.php on line 10

===
NOTE: this version of Phoenix changed the includes/system/versioned/1.0.8.5/href.php to add :
on line 19
protected $hooks = null;

on line 33
public function set_hooks(&$hooks) {
$this->hooks =& $hooks;
return $this;
}
and changed line 131 FROM
$chain = $GLOBALS['all_hooks']->chain('hrefLink', $chain);

TO
$chain = ($this->hooks ?? $GLOBALS['all_hooks'])->chain('hrefLink', $chain);
Hi dear;
Did you find a solution to it??
radhavallabh
VIP Member
VIP Member
Posts: 364
Joined: Tue Oct 27, 2020 4:09 am
Contact:

Re: Fatal Error on Phoenix 1.0.8.19

by Piernas » Sat Mar 04, 2023 1:39 pm

I have uploaded a new version that reflects changes. It should be available when it is reviewed by admins.
Piernas
Posts: 96
Joined: Thu Mar 11, 2021 2:16 am
Contact:

Re: Fatal Error on Phoenix 1.0.8.19

by radhavallabh » Tue Mar 07, 2023 6:13 am

Piernas wrote:I have uploaded a new version that reflects changes. It should be available when it is reviewed by admins.
Thank you dear! Shall check it.....
radhavallabh
VIP Member
VIP Member
Posts: 364
Joined: Tue Oct 27, 2020 4:09 am
Contact: