Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php on line 2627

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php on line 2656

Fatal error: Uncaught RuntimeException: Failed to start the session because headers have already been sent by "/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php" at line 2627. in /app/cache/prod/classes.php:114 Stack trace: #0 /app/cache/prod/classes.php(191): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() #1 /app/cache/prod/classes.php(491): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('attributes') #2 /src/AppBundle/Controller/DefaultController.php(71): Symfony\Component\HttpFoundation\Session\Session->get('_locale', 'en') #3 /src/AppBundle/Controller/DefaultController.php(24): AppBundle\Controller\DefaultController->getLang() #4 [internal function]: AppBundle\Controller\DefaultController->indexAction() #5 /app/bootstrap.php.cache(3242): call_user_func_array(Array, Array) #6 /app/bootstrap.php.cache(3201): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #7 /app/bootstrap.php.cache(3355): Symfony\Co in /app/cache/prod/classes.php on line 114