Warning: Division by zero in

  • Posts: 37
  • Thank you received: 3
9 years 4 months ago #236853

-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.5.1
-- Error-message(debug-mod must be tuned on) -- : Warning: Division by zero in /administrator/components/com_hikashop/classes/currency.php

Hello,
I receive an error after updating to 2.6.2 version when you go to cart
Warning: Division by zero in /administrator/components/com_hikashop/classes/currency.php

Attachments:

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

  • Posts: 26264
  • Thank you received: 4043
  • MODERATOR
9 years 4 months ago #236855

Hi,

You have a currency with a "rate" set to "0".
That should not happen ; you have an error in your currency configuration.

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: 37
  • Thank you received: 3
9 years 4 months ago #236873

Sorry,
but I did not understand what I need to do to fix it?

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

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
9 years 4 months ago #236880

Hello,

In order to correct this, go to Components => HikaShop => Configuration, go to System dropdown and click on Currencies.



You will see your currency listing, find your currency and check the rate, if it is set to "0", click on his name to edit it OR use the Hikashop Currency Rates Plugin, his aim is to automatically updates your currencies rates.

For more details, have a see to this tutorial, here

Hope this will help you.

Regards,

Attachments:
Last edit: 9 years 4 months ago by Philip.
The following user(s) said Thank You: Ilya.bps

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

  • Posts: 37
  • Thank you received: 3
9 years 4 months ago #237032

Thank you,
needed to update the rate,
now it's work correctly

Attachments:

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

Time to create page: 0.091 seconds
Powered by Kunena Forum