Jump to content

[Solved] CurrencyException Error


Iris96

Recommended Posts

Hello everyone,

I need help with my online store.

I use PrestaShop 1.7.6.2 and I want to add new currency ( Albanian Lek (ALL) ). When I try to add this currency I become this error: An unexpected error occurred. [PrestaShop\PrestaShop\Core\Domain\Currency\Exception\CurrencyException code 0]

Where can the problem be ? How can I handle this error ? What does this error means? I have to add this currency otherwise I can't sell in my store. 

P.S I can add other currencies without problems and they also work in front end store. The problem happens only with Albanian Lek (ALL) that cannot be added.

This is my online store emia.shop

Thank you in advance!

currency_error.png

all_currencies.png

Link to comment
Share on other sites

There is an error in the currency data for Albania: the numeric iso code is stored as 8 instead of 008 and therefore failing in internal vaildation rules. To fix it edit file \localization\CLDR\core\common\supplemental\supplementalData.xml and change line 5208 accordingly.

grafik.png.5d527db7ebe32a309fd94ee81b0b2690.png

After clearing prestashop cache you can add ALL currency:

grafik.png.2fc23853b089dee2ba9acc6f312200e0.png

  • Like 1
Link to comment
Share on other sites

  • Iris96 changed the title to [Solved] CurrencyException Error
  • 3 weeks later...
25 minutes ago, Isaacw said:

I also have an issue about currency. I can't select or edit another currency from a drop down in adding new currency. The currencies are there but can't be selected. I need help on this. Thank you. 

Which Prestashop version are you using ? Which php-version and SQL version are you using ? Your problem is also for Albania ?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...