Fatal error: Call to a member function getContactId() on null in /home/oborot/data/subdomains/live/expo/src/AppBundle/ControllerArchive/SpeakerController.php on line 49

Fatal error: Uncaught exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Error: Call to a member function getContactId() on null' in /home/oborot/data/subdomains/live/expo/src/AppBundle/ControllerArchive/SpeakerController.php:49 Stack trace: #0 {main} Next exception 'RuntimeException' with message 'Failed to start the session because headers have already been sent by "/home/oborot/data/subdomains/live/expo/src/AppBundle/ControllerArchive/SpeakerController.php" at line 49.' in /home/oborot/data/subdomains/live/expo/var/cache/prod/classes.php:112 Stack trace: #0 /home/oborot/data/subdomains/live/expo/var/cache/prod/classes.php(196): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() #1 /home/oborot/data/subdomains/live/expo/var/cache/prod/classes.php(550): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('attributes') #2 /home/oborot/data/subdomains/live/expo/var/cache/prod/classes.php(469): Symfony\Component\HttpFoundation\Session\Sessio in /home/oborot/data/subdomains/live/expo/app/Resources/views/theme/base.html.twig on line 80