Bonsoir,
Je viens de faire planter mon site, en plein dans une opération de marketing.....
En changeant un élément de mon code promo (plugin CouponOfferedProduct), je n'ai plus aucun code promo s'affichant dans la liste sur le back-office. Et côté front le même message d'erreur...
Fatal error: Uncaught Error: Call to a member function getAttributes() on null in /local/modules/LegacyProductAttributes/EventListeners/CartAction.php:55 Stack trace: #0 /local/modules/LegacyProductAttributes/EventListeners/CartAction.php(41): LegacyProductAttributes\EventListeners\CartAction->getLegacyProductAttributes(Object(Thelia\Core\Event\Cart\CartEvent)) #1 [internal function]: LegacyProductAttributes\EventListeners\CartAction->addItem(Object(Thelia\Core\Event\Cart\CartEvent), 'action.addArtic...', Object(Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher)) #2 /core/vendor/symfony/event-dispatcher/EventDispatcher.php(181): call_user_func(Array, Object(Thelia\Core\Event\Cart\CartEvent), 'action.addArtic...', Object(Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher)) #3 /core/vendor/symfony/event-dispatcher/EventDispatcher.php(46): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'action. in /local/modules/LegacyProductAttributes/EventListeners/CartAction.php on line 55
Je n'ai pas touché à ses fichiers en question.
Help ! C'est la cata, je sais pas quoi faire...