Booba17 Posted June 22, 2014 Share Posted June 22, 2014 Bonjour, En voulant créer une commande via le BO, je mertrouveavec une page blanche à la validation. L'erreur qui ressort : Fatal error: Call to a member function getProducts() on a non-object in /var/www/vhosts/xxxxxxxxx.com/httpdocs/classes/CartRule.php on line 634 Dans CartRule.php le code concerné est : foreach ($context->cart->getProducts() as $product) $eligibleProductsList[] = (int)$product['id_product'].'-'.(int)$product['id_product_attribute']; if (!count($eligibleProductsList)) return (!$display_error) ? false : Tools::displayError('You cannot use this voucher in an empty cart'); Je ne comprends pas l'erreur. Merci d'avance pour votre aide Link to comment Share on other sites More sharing options...
Booba17 Posted June 28, 2014 Author Share Posted June 28, 2014 Personne pour m'aider ? Je suis tombé sur ce poste : http://forge.prestashop.com/browse/PSCSX-2499 Mais meme après avoir désinstallé le module, ça fonctionne pas. 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