Jump to content

Multishop stops on error: getConversationRate()


Recommended Posts

Fatal error: Call to a member function getConversationRate() on a non-object in /var/www/prestashop/classes/controller/FrontController.php on line 374

I've tried several different solutions, also different servers and environments - but this error is still present and I am unable to find the cause of it.

 

Is this a known bug, or do I have wrong version of prestashop?

 

Is anyone familiar with this bug, and is there a fix?

Link to comment
Share on other sites

  • 2 weeks later...

I found that this error occurres when you try to make a new shop without importing settings from the main shop, I am guessing the absence of currency settings is triggering this. The fault is probably in classes/Tools php in the setCurrency function which returns null in that case, because there is no id_currency in the cookie, also no shop->id in the context

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

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...