Warning: Invalid argument supplied for foreach() in /usr/src/app/bootstrap.php on line 48

Fatal error: Uncaught exception 'RuntimeException' with message 'Failed to start the session because headers have already been sent by "/usr/src/app/bootstrap.php" at line 48.' in /usr/src/app/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:143 Stack trace: #0 /usr/src/app/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php(281): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() #1 /usr/src/app/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Session.php(239): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('flashes') #2 /usr/src/app/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Session.php(249): Symfony\Component\HttpFoundation\Session\Session->getBag('flashes') #3 [internal function]: Symfony\Component\HttpFoundation\Session\Session->getFlashBag() #4 /usr/src/app/vendor/twig/twig/lib/Twig/Template.php(465) in /usr/src/app/vendor/twig/twig/lib/Twig/Template.php on line 294