Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getSlug() on null in /var/www/src/Application/RouteSolvers/CertificadoEnergetico/RegistroPorComunidad.php:37 Stack trace: #0 /var/www/src/Application/RouteSolvers/RouteSolversManager.php(483): App\Application\RouteSolvers\CertificadoEnergetico\RegistroPorComunidad->match('el-registro-del...') #1 /var/www/src/Controller/MainController.php(51): App\Application\RouteSolvers\RouteSolversManager->matchRoute('el-registro-del...') #2 /var/www/vendor/symfony/http-kernel/HttpKernel.php(150): App\Controller\MainController->defaultAction(Object(Symfony\Component\HttpFoundation\Request), 'el-registro-del...') #3 /var/www/vendor/symfony/http-kernel/HttpKernel.php(67): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #4 /var/www/vendor/symfony/http-kernel/Kernel.php(198): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #5 in /var/www/src/Application/RouteSolvers/CertificadoEnergetico/RegistroPorComunidad.php on line 37