Modul pro opravu chyby "Attempted to call an undefined method named "getLocale"
This error will occure if you use module ps_emailalerts in version higher then 2.2.1 on Prestashopu versions 1.7.0 - 18.104.22.168.
Modules fix the problem by adding the function that module ps_emailalerts needs.
Without the module, this error message would appear on the end of order process (or white screen):
Attempted to call an undefined method named "getLocale" of class "Language".
Did you mean to call "getLocaleByIso"?