Error: Call to a member function getId() on null in /var/www/html/aloa/src/Service/Modules/GestionCommerciale/OffrePromo/OffrePromo.php:1729
Stack trace:
#0 /var/www/html/aloa/src/Controller/Api/Boutique/ApiProduitController.php(623): DoctrineAloa\Service\Modules\GestionCommerciale\OffrePromo\OffrePromo::calculsWidgetOffrePromo(Object(DoctrineAloa\Entity\Widget\Panier), Object(DoctrineAloa\Entity\GestionCommerciale\Site), true, 'affichageWidget')
#1 /var/www/html/aloa/src/Controller/Api/ApiController.php(177): DoctrineAloa\Controller\Api\Boutique\ApiProduitController->showPanier()
#2 /var/www/html/aloa/api/index.php(65): DoctrineAloa\Controller\Api\ApiController->router()
#3 {main}