Fatal error: Call to a member function getId() on null in /home/clients/ab3c8fec076cb8bef10babb9ec585de9/web/new-event/src/Pix/GalleryBundle/Controller/ImageController.php on line 29

Fatal error: Uncaught exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Error: Call to a member function getId() on null' in /home/clients/ab3c8fec076cb8bef10babb9ec585de9/web/new-event/src/Pix/GalleryBundle/Controller/ImageController.php:29 Stack trace: #0 {main} Next exception 'InvalidArgumentException' with message 'The file "views/base.html.twig" does not exist (in: /home/clients/ab3c8fec076cb8bef10babb9ec585de9/web/new-event/app/Resources).' in /home/clients/ab3c8fec076cb8bef10babb9ec585de9/web/new-event/app/cache/prod/classes.php:1645 Stack trace: #0 /home/clients/ab3c8fec076cb8bef10babb9ec585de9/web/new-event/app/cache/prod/classes.php(2783): Symfony\Component\Config\FileLocator->locate('views/base.html...', NULL, true) #1 /home/clients/ab3c8fec076cb8bef10babb9ec585de9/web/new-event/app/cache/prod/classes.php(801): Symfony\Component\HttpKernel\Config\FileLocator->locate('views/base.html...', NULL) #2 /home/clients/ab3c8fec076cb8bef10babb9ec585de9/web/new-event/vendor/symfony/symfony/s in /home/clients/ab3c8fec076cb8bef10babb9ec585de9/web/new-event/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Loader/FilesystemLoader.php on line 91