Fatal error: Call to a member function getId() on null in /home/customer/bh5948-bzoote/sites/bhcar.fr/deploy/releases/20190315143032/src/BVM/Bundle/AgencyBundle/Controller/FrontAgencyController.php on line 69

Fatal error: Uncaught exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Error: Call to a member function getId() on null' in /home/customer/bh5948-bzoote/sites/bhcar.fr/deploy/releases/20190315143032/src/BVM/Bundle/AgencyBundle/Controller/FrontAgencyController.php:69 Stack trace: #0 {main} Next exception 'Twig_Error_Loader' with message 'Unable to find template "BHAFrontBundle:error:base.html.twig" (looked into: /home/customer/bh5948-bzoote/sites/bhcar.fr/deploy/releases/20190315143032/app/Resources/views, /home/customer/bh5948-bzoote/sites/bhcar.fr/deploy/releases/20190315143032/vendor/symfony/symfony/src/Symfony/Bridge/Twig/Resources/views/Form, /home/customer/bh5948-bzoote/sites/bhcar.fr/deploy/releases/20190315143032/vendor/knplabs/knp-menu/src/Knp/Menu/Resources/views) in "@Twig/Exception/error500.html.twig" at line 1.' in /home/customer/bh5948-bzoote/sites/bhcar.fr/deploy/releases/20190315143032/vendor/twig/twig/lib/Twig/Loader/Filesystem.php:232 Stack trace: #0 /home/customer/bh5948-b in /home/customer/bh5948-bzoote/sites/bhcar.fr/deploy/releases/20190315143032/vendor/twig/twig/lib/Twig/Loader/Filesystem.php on line 232