AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: jaysbar on September 19, 2016, 05:25:30 AM

Title: Fatal error: Call to undefined method AHtml::getHomeURL() in /home...
Post by: jaysbar on September 19, 2016, 05:25:30 AM
Hi

I have this error on my test site:
Fatal error: Call to undefined method AHtml::getHomeURL() in /home/mysite/public_html/test/storefront/controller/common/footer.php on line 33

I checked the code at line 33 in the relevant footer.php and this is the code. It looks ok to me.
$this->data['home'] =  $this->html->getHomeURL();

Any ideas?

Thanks
Title: Re: Fatal error: Call to undefined method AHtml::getHomeURL() in /home...
Post by: abolabo on September 19, 2016, 07:08:56 AM
try to look public function getHomeURL() inside core/engine/html.php

btw, what version of AbanteCart do you use?
Title: Re: Fatal error: Call to undefined method AHtml::getHomeURL() in /home...
Post by: jaysbar on September 19, 2016, 11:11:40 AM
Hi

This is my fault. Sorry.... My LIVE site is on 1.2.8 and TEST site was on 1.2.7. I upgraded the TEST site to 1.2.8 and the problem is solved!

Thanks