Warning: Invalid argument supplied for foreach() in /var/www/html/vendor/chromedata/construct-bundle/Chromedata/ConstructBundle/CoreDomain/Configuration/Configuration.php on line 365

Fatal error: Uncaught RuntimeException: Failed to start the session because headers have already been sent by "/var/www/html/vendor/chromedata/construct-bundle/Chromedata/ConstructBundle/CoreDomain/Configuration/Configuration.php" at line 365. in /var/www/html/app/cache/prod/classes.php:118 Stack trace: #0 /var/www/html/app/cache/prod/classes.php(186): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() #1 /var/www/html/app/cache/prod/classes.php(559): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('flashes') #2 /var/www/html/app/cache/prod/classes.php(563): Symfony\Component\HttpFoundation\Session\Session->getBag('flashes') #3 /var/www/html/app/cache/prod/classes.php(5186): Symfony\Component\HttpFoundation\Session\Session->getFlashBag() #4 /var/www/html/app/cache/prod/twig/74/749ca79bf27ece404dfe39b8ab859190f9d392550e1d79ada766a326eb4c7f0e.php(464): Twig_Template->getAttribute(Object(Symfony\Component\HttpFoundation\Session\Session), 'flashbag', Array) #5 /var/www in /var/www/html/src/Dealersite/DealerBundle/Resources/views/base.html.twig on line 347