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 2636

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 2665

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 2636. 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(101): Symfony\Component\HttpFoundation\Session\Session->get('_locale', 'en') #3 /src/AppBundle/Controller/DefaultController.php(20): AppBundle\Controller\DefaultController->getLang() #4 [internal function]: AppBundle\Controller\DefaultController->indexAction() #5 /app/bootstrap.php.cache(3210): call_user_func_array(Array, Array) #6 /app/bootstrap.php.cache(3172): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #7 /app/bootstrap.php.cache(3323): Symfony\C in /app/cache/prod/classes.php on line 114