Exception detected!

Unable to generate a URL for the named route "home" as such route does not exist.

500 Internal Server Error - RouteNotFoundException

Stack Trace

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

Logs  -

Stack Trace (Plain Text)  +