Camille_BDE Posted April 19, 2016 Share Posted April 19, 2016 Bonjour, Souhaitant apporter des modifications sur les mails envoyés par Prestashop aux clients (envoi de commande, SAV...), j'ai été directement chercher et modifier les fichiers mail HTML sur le FTP. Cependant, en voulant tester si tout cela fonctionnait bien, une erreur s'affiche au moment de passer commande : page blanche + cette indication : Fatal error: Call to undefined method ShopUrl::cacheMainDomainForShop() in .../override/classes/Mail.php on line 289 J'avais fais des sauvegardes des anciens fichiers, mais même en les remplaçant avec l'ancienne version, toujours la même erreur... je précise que je n'ai pas touché au fichier Mail.php, seulement aux fichiers .html Quelqu'un aurait-il une idée d'où peut venir ce problème ? Merci Link to comment Share on other sites More sharing options...
tuk66 Posted April 19, 2016 Share Posted April 19, 2016 La méthode ShopUrl::cacheMainDomainForShop est nouveau dans PS 1.5.5.0. Quelle est votre version? The ShopUrl::cacheMainDomainForShop method is new in PS 1.5.5.0. What is your version? Link to comment Share on other sites More sharing options...
Camille_BDE Posted April 19, 2016 Author Share Posted April 19, 2016 Étrange... j'ai la version 1.5.4.1 Link to comment Share on other sites More sharing options...
tuk66 Posted April 19, 2016 Share Posted April 19, 2016 C'est tout. Une partie de votre code ou un module est pas compatible avec votre version. That's it. Some part of your code or a module is not compatible with your version. Link to comment Share on other sites More sharing options...
Camille_BDE Posted April 19, 2016 Author Share Posted April 19, 2016 Il faudrait donc que je supprime une partie du code de Mail.php ou que je trouve et télécharge une version plus ancienne ? 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