Jump to content

Error on checkout


TRIBEKA

Recommended Posts

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"?"

image.thumb.png.385e6c212d1ce4849413100747cb11d2.png

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 by TRIBEKA
Word mistake (see edit history)
Link to comment
Share on other sites

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

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