Call to a Member Function Error When Updating Rates

  • Posts: 960
  • Thank you received: 11
  • Hikashop Business
4 years 6 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: 25994
  • Thank you received: 4004
  • MODERATOR
4 years 6 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: 960
  • Thank you received: 11
  • Hikashop Business
4 years 6 months ago #311117

I'm using 4.2.0. Thanks!

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

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
4 years 6 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: 4 years 6 months ago by nicolas.

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

Time to create page: 0.058 seconds
Powered by Kunena Forum