polaije Posted March 14, 2023 Share Posted March 14, 2023 Bonjour, Avec la version 1.7.8.8 a l'affichage d'un produit lorsque l'on change de langue et que le panier n'est pas vide j'obtient "erreur fatale". En mode debug l'erreur intervient à la ligne 3632 de la classe Product.php : /* * When a user (e.g., guest, customer, Google...) is on PrestaShop, he has already its cart as the global (see /init.php) * When a non-user calls directly this method (e.g., payment module...) is on PrestaShop, he does not have already it BUT knows the cart ID * When called from the back office, cart ID can be inexistant */ if (!$id_cart && !isset($context->employee)) { die(Tools::displayError()); } Quand le panier est vide, pas d'erreur. Quelqu'un pourrait-il me donner des indications pour résoudre ce problème. Merci d'avance, Jean-Marie Polain 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