Unable to generate a URL for the named route "home" as such route does not exist.
500 Internal Server Error - RouteNotFoundException
Stack Trace
-
in kernel.root_dir/cache/prod/appProdUrlGenerator.php at line 1756
public function generate($name, $parameters = array(), $referenceType = self::ABSOLUTE_PATH)
{
if (!isset(self::$declaredRoutes[$name])) {
throw new RouteNotFoundException(sprintf('Unable to generate a URL for the named route "%s" as such route does not exist.', $name));
}
list($variables, $defaults, $requirements, $tokens, $hostTokens) = self::$declaredRoutes[$name];
-
at
appProdUrlGenerator
->generate
('home', array(), false)
in kernel.root_dir/cache/prod/classes.php at line 7103 -
at
I18nRouter
->generate
('home', array(), false)
in /home/dance/htdocs/danceera/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php at line 50 -
at
Controller
->generateUrl
('home')
in /home/dance/htdocs/danceera/src/Acme/ServiceBundle/Controller/PhotosController.php at line 78 - at PhotosController ->photosingleAction ('1332')
-
at
call_user_func_array
(array(object(PhotosController), 'photosingleAction'), array('1332'))
in kernel.root_dir/bootstrap.php.cache at line 2975 -
at
HttpKernel
->handleRaw
(object(Request), '1')
in kernel.root_dir/bootstrap.php.cache at line 2949 -
at
HttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 3078 -
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 2348 -
at
Kernel
->handle
(object(Request))
in /home/dance/htdocs/danceera/web/app.php at line 24