MrSoulPC915 Posted July 20, 2017 Share Posted July 20, 2017 Bonjour, Le titre du sujet dit presque tout. Quand on a un tiret dans un attribut et que celui-ci se retrouve dans le panier, tout le site plante jusqu'à disparition des cookies/sessions du client et crache l'erreur suivante : ContextErrorException in CartPresenter.php line 83:Notice: Undefined offset: 1 La portion de code incriminé foreach ($rawProduct['attributes'] as $attribute) { list($key, $value) = explode(':', $attribute); $attributesArray[trim($key)] = ltrim($value); } Version de PrestaShop : 1.7.1.2 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