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);
Ultimate SEO Urls
Fatal Error on Phoenix 1.0.8.19 - Ultimate SEO Urls
-
- VIP Member
- Posts: 119
- Joined: Thu Oct 29, 2020 12:34 pm
- Contact:
Ultimate SEO Urls for v1.0.8.19
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
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
-
- Posts: 7
- Joined: Sun Apr 11, 2021 5:29 am
- Contact:
Re: Fatal Error on Phoenix 1.0.8.19
Hi dear;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);
Did you find a solution to it??
-
- VIP Member
- Posts: 364
- Joined: Tue Oct 27, 2020 4:09 am
- Contact:
Re: Fatal Error on Phoenix 1.0.8.19
I have uploaded a new version that reflects changes. It should be available when it is reviewed by admins.
-
- Posts: 96
- Joined: Thu Mar 11, 2021 2:16 am
- Contact:
Re: Fatal Error on Phoenix 1.0.8.19
Thank you dear! Shall check it.....Piernas wrote:I have uploaded a new version that reflects changes. It should be available when it is reviewed by admins.
-
- VIP Member
- Posts: 364
- Joined: Tue Oct 27, 2020 4:09 am
- Contact: