Call to a Member Function Error When Updating Rates

  • Posts: 964
  • Thank you received: 11
  • Hikashop Business
5 years 2 months ago #310900

When I click on "Update Rates" I get the attached message.

Thanks!

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
5 years 2 months ago #310903

Hello,

Please provide the basis details regarding the HikaShop version number you're using.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 964
  • Thank you received: 11
  • Hikashop Business
5 years 2 months ago #311117

I'm using 4.2.0. Thanks!

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
5 years 2 months ago #311119

Hi,

Add the line:
$app = JFactory::getApplication();
after the line:
function updateRates($plugin=null){
in the file plugins/hikashop/rates/rates.php and that should fix the problem.
This error happens because the HikaShop rates update plugin is not configured properly so once you do that change, you'll see an error message explaining you what you need to do.

Last edit: 5 years 2 months ago by nicolas.

Please Log in or Create an account to join the conversation.

Time to create page: 0.062 seconds
Powered by Kunena Forum