Author Topic: Fatal error: Call to undefined method AHtml::getHomeURL() in /home...  (Read 5938 times)

Offline jaysbar

  • Full Member
  • ***
  • Posts: 139
  • Karma: +13/-5
    • View Profile
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

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2148
  • Karma: +337/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Fatal error: Call to undefined method AHtml::getHomeURL() in /home...
« Reply #1 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?
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline jaysbar

  • Full Member
  • ***
  • Posts: 139
  • Karma: +13/-5
    • View Profile
Re: Fatal error: Call to undefined method AHtml::getHomeURL() in /home...
« Reply #2 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

 

Powered by SMFPacks Social Login Mod