Fatal error: Call to a member function getResortId() on null in /home/web/vm-59de1621.netangels.ru/www/src/AppBundle/Controller/LandsController.php on line 34

Fatal error: Uncaught exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Error: Call to a member function getResortId() on null' in /home/web/vm-59de1621.netangels.ru/www/src/AppBundle/Controller/LandsController.php:34 Stack trace: #0 {main} Next exception 'RuntimeException' with message 'Failed to start the session because headers have already been sent by "/home/web/vm-59de1621.netangels.ru/www/src/AppBundle/Controller/LandsController.php" at line 34.' in /home/web/vm-59de1621.netangels.ru/www/var/cache/prod/classes.php:111 Stack trace: #0 /home/web/vm-59de1621.netangels.ru/www/var/cache/prod/classes.php(451): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() #1 /home/web/vm-59de1621.netangels.ru/www/vendor/symfony/symfony/src/Symfony/Component/Security/Csrf/TokenStorage/SessionTokenStorage.php(90): Symfony\Component\HttpFoundation\Session\Session->start() #2 /home/web/vm-59de1621.netangels.ru/www/vendor/symfony/symfony/src/Symfony/Component/Security/Csrf/CsrfTo in /home/web/vm-59de1621.netangels.ru/www/var/cache/prod/classes.php on line 111