Fatal error: Call to a member function getTranslation() on null in /var/www/html/src/Camber/SiteBundle/Controller/CaseItemController.php on line 125

Fatal error: Uncaught exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Error: Call to a member function getTranslation() on null' in /var/www/html/src/Camber/SiteBundle/Controller/CaseItemController.php:125 Stack trace: #0 {main} Next exception 'RuntimeException' with message 'Failed to start the session because headers have already been sent by "/var/www/html/src/Camber/SiteBundle/Controller/CaseItemController.php" at line 125.' in /var/www/html/app/cache/prod/classes.php:115 Stack trace: #0 /var/www/html/app/cache/prod/classes.php(192): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() #1 /var/www/html/app/cache/prod/classes.php(565): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('flashes') #2 /var/www/html/app/cache/prod/classes.php(569): Symfony\Component\HttpFoundation\Session\Session->getBag('flashes') #3 /var/www/html/app/cache/prod/classes.php(5363): Symfony\Component\HttpFoundation\Session\Session->getFlashBag() #4 /var/w in /var/www/html/src/Camber/SiteBundle/Resources/views/Navigation/footer.html.twig on line 5