Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getGalleryHasMedias() on null in /var/www/vhosts/ghigoroli.com/httpdocs/src/Controller/ControllerDemo.php:1246 Stack trace: #0 /var/www/vhosts/ghigoroli.com/httpdocs/vendor/symfony/http-kernel/HttpKernel.php(151): App\Controller\ControllerDemo->dettagliogalleryAction(Object(Symfony\Component\HttpFoundation\Request), 'galeria', '10', 1, Object(Knp\Component\Pager\Paginator)) #1 /var/www/vhosts/ghigoroli.com/httpdocs/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #2 /var/www/vhosts/ghigoroli.com/httpdocs/vendor/symfony/http-kernel/Kernel.php(200): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #3 /var/www/vhosts/ghigoroli.com/httpdocs/public/index.php(37): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #4 {main} Ne in /var/www/vhosts/ghigoroli.com/httpdocs/vendor/symfony/http-kernel/Controller/ControllerResolver.php on line 180