TRIBEKA Posted March 22, 2021 Share Posted March 22, 2021 (edited) Hello, Since last friday 19.03.2021 my website is unable to complete any orders. The customers can perform any changes until it reach to the point they need to complete the order (Cash on delivery). Once they place the order they receive this message (with debug mode on) "UndefinedMethodException in ps_emailalerts.php line 552:Attempted to call an undefined method named "getLocale" of class "Language". Did you mean to call "getLocaleByIso"?" My assumption is that the issue is comming from the language, translation. Maybe something is connected to this as I "play" with those options ... adding or deleting language (en only as the site is only for romanian market) I am unable to understand what I have to do to revert to the old state I also install a new Cash on delivery module,and I have the same behavior like the original one (switched back to the old one), reseting did not solve the issue, is just the same. The orders are not finalized ... Additional info: Prestashop 1.7.2.4 PHP was 5.6 now 7.1.33 I REALLY appreciate any help. I can provide any details might be usefull to find a sollution. Catalin Edited March 22, 2021 by TRIBEKA Word mistake (see edit history) Link to comment Share on other sites More sharing options...
juanrojas Posted March 22, 2021 Share Posted March 22, 2021 hello it seems that the problem comes from the mailalerts module, I deactivate it and try to discard and a question did I update this module recently? Link to comment Share on other sites More sharing options...
TRIBEKA Posted March 22, 2021 Author Share Posted March 22, 2021 Hello and thanks for your reply, I deactivate the mailalerts module and it seems that the orders are going through properly, amazing. Indeed I have been updating this module last week (if i'm not mistaken). Now it's deactivated, but what to do to activate it and work properly ? Install a new mailalerts module in the theme ? BIG Thanks Link to comment Share on other sites More sharing options...
juanrojas Posted March 22, 2021 Share Posted March 22, 2021 have to install the old version, do not update Link to comment Share on other sites More sharing options...
TRIBEKA Posted March 22, 2021 Author Share Posted March 22, 2021 6 minutes ago, juanrojas said: have to install the old version, do not update But from where, how can I intall the old one ? Link to comment Share on other sites More sharing options...
juanrojas Posted March 22, 2021 Share Posted March 22, 2021 It works well https://prnt.sc/10sqjj7 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now