http://ramadahotelandsuitesyerevan.am/

Exceptions

An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "news_page" as such route does not exist.").

Exceptions 2

Twig_Error_Runtime

  1.                 </li>
  2.                 <li class="nav-item {{ ( aboutActive is defined )?'active':'' }}">
  3.                     <a class="nav-link" href="{{ path('about_page') }}">{{ 'About'|trans }}</a>
  4.                 </li>
  5.                 <li class="nav-item {{ ( newsActive is defined )?'active':'' }}">
  6.                     <a class="nav-link" href="{{ path('news_page') }}">{{ 'News'|trans }}</a>
  7.                 </li>
  8.                 <li class="nav-item {{ ( roomActive is defined )?'active':'' }}">
  9.                     <a class="nav-link" href="{{ path('rooms_list_page') }}">{{ 'Rooms'|trans }}</a>
  10.                 </li>
  11.                 <li class="nav-item {{ ( eventsActive is defined )?'active':'' }}">
Twig_Template->displayWithErrorHandling(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true), array()) in vendor/twig/twig/lib/Twig/Template.php (line 403)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = array())
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
Twig_Template->display(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true)) in vendor/twig/twig/lib/Twig/Template.php (line 411)
  1.     public function render(array $context)
  2.     {
  3.         $level ob_get_level();
  4.         ob_start();
  5.         try {
  6.             $this->display($context);
  7.         } catch (Exception $e) {
  8.             while (ob_get_level() > $level) {
  9.                 ob_end_clean();
  10.             }
Twig_Template->render(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true)) in vendor/twig/twig/lib/Twig/Extension/Core.php (line 1521)
  1.         }
  2.     }
  3.     $result null;
  4.     try {
  5.         $result $env->resolveTemplate($template)->render($variables);
  6.     } catch (Twig_Error_Loader $e) {
  7.         if (!$ignoreMissing) {
  8.             if ($isSandboxed && !$alreadySandboxed) {
  9.                 $sandbox->disableSandbox();
  10.             }
twig_include(object(Twig_Environment), array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true), 'parts/nav.html.twig') in var/cache/dev/twig/58/58e2e30834f266e8296d2f08ea57a5c63f72081fc69df673c01f4b7ade918d15.php (line 123)
  1.         </script>
  2.     </head>
  3.     <body>
  4.     ";
  5.         // line 42
  6.         echo twig_include($this->env$context"parts/nav.html.twig");
  7.         echo "
  8.     ";
  9.         // line 43
  10.         echo twig_include($this->env$context"parts/alert_message.html.twig");
  11.         echo "
__TwigTemplate_f3e5b6dccf9a6d9b79fbc77ad4cc75eb024ea8878b951526f06247fbce312ead->doDisplay(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true), array('meta' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_meta'), 'title' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_f3e5b6dccf9a6d9b79fbc77ad4cc75eb024ea8878b951526f06247fbce312ead), 'block_stylesheets'), 'body' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_body'), 'javascripts' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_javascripts'))) in vendor/twig/twig/lib/Twig/Template.php (line 432)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = array())
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Twig_Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
Twig_Template->displayWithErrorHandling(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true), array('meta' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_meta'), 'title' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_f3e5b6dccf9a6d9b79fbc77ad4cc75eb024ea8878b951526f06247fbce312ead), 'block_stylesheets'), 'body' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_body'), 'javascripts' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_javascripts'))) in vendor/twig/twig/lib/Twig/Template.php (line 403)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = array())
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
Twig_Template->display(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true), array('meta' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_meta'), 'title' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_title'), 'body' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_body'), 'javascripts' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_javascripts'))) in var/cache/dev/twig/93/93642fe49439ae078f40678132b144d1591c53b4b7159ca18475921998c6d6e7.php (line 42)
  1. ($context["page"] ?? $this->getContext($context"page")), "metaKeywords", array()), "ogImage" => $this->getAttribute(        // line 6
  2. ($context["page"] ?? $this->getContext($context"page")), "pageOgImage", array()));
  3.         // line 12
  4.         $context["homeActive"] = true;
  5.         // line 1
  6.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  7.         
  8.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  9.         
  10.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514->doDisplay(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true), array('meta' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_meta'), 'title' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_title'), 'body' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_body'), 'javascripts' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_javascripts'))) in vendor/twig/twig/lib/Twig/Template.php (line 432)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = array())
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Twig_Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
Twig_Template->displayWithErrorHandling(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am')), array('meta' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_meta'), 'title' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_title'), 'body' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_body'), 'javascripts' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_javascripts'))) in vendor/twig/twig/lib/Twig/Template.php (line 403)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = array())
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
Twig_Template->display(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)))) in vendor/twig/twig/lib/Twig/Template.php (line 411)
  1.     public function render(array $context)
  2.     {
  3.         $level ob_get_level();
  4.         ob_start();
  5.         try {
  6.             $this->display($context);
  7.         } catch (Exception $e) {
  8.             while (ob_get_level() > $level) {
  9.                 ob_end_clean();
  10.             }
Twig_Template->render(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)))) in vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php (line 49)
  1.      *
  2.      * @throws Error if something went wrong like a thrown exception while rendering the template
  3.      */
  4.     public function render($name, array $parameters = array())
  5.     {
  6.         return $this->load($name)->render($parameters);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      *
TwigEngine->render('page/index.html.twig', array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)))) in vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php (line 45)
  1.      * {@inheritdoc}
  2.      */
  3.     public function render($name, array $parameters = array())
  4.     {
  5.         try {
  6.             return parent::render($name$parameters);
  7.         } catch (Error $e) {
  8.             if ($name instanceof TemplateReference && !method_exists($e'setSourceContext')) {
  9.                 try {
  10.                     // try to get the real name of the template where the error occurred
  11.                     $name $e->getTemplateName();
TwigEngine->render('page/index.html.twig', array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)))) in vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php (line 284)
  1.      * @final since version 3.4
  2.      */
  3.     protected function render($view, array $parameters = array(), Response $response null)
  4.     {
  5.         if ($this->container->has('templating')) {
  6.             $content $this->container->get('templating')->render($view$parameters);
  7.         } elseif ($this->container->has('twig')) {
  8.             $content $this->container->get('twig')->render($view$parameters);
  9.         } else {
  10.             throw new \LogicException('You can not use the "render" method if the Templating Component or the Twig Bundle are not available. Try running "composer require symfony/twig-bundle".');
  11.         }
Controller->render('page/index.html.twig', array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)))) in src/AppBundle/Controller/DefaultController.php (line 51)
  1.             'eventsPage' => $eventsPage,
  2.             'diningPage' => $diningPage,
  3.             'fitnessPage' => $fitnessPage,
  4.             'galleryPage' => $galleryPage,
  5.             'galleryCateg' => $galleryCategory,
  6.             'gallery' => $gallery,
  7.         ]);
  8.     }
  9.     /**
  10.      * @Route("/{_locale}/about", name="about_page",
DefaultController->indexAction(object(Request), 'en') in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 151)
  1.         $this->dispatcher->dispatch(KernelEvents::CONTROLLER_ARGUMENTS$event);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response = \call_user_func_array($controller$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new GetResponseForControllerResultEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch(KernelEvents::VIEW$event);
HttpKernel->handleRaw(object(Request), 1) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 68)
  1.     public function handle(Request $request$type HttpKernelInterface::MASTER_REQUEST$catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level'ob_get_level());
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
HttpKernel->handle(object(Request), 1, true) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php (line 200)
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle(object(Request)) in web/app.php (line 20)
  1. //$kernel = new AppCache($kernel);
  2. // When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter
  3. //Request::enableHttpMethodParameterOverride();
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Symfony\Component\Routing\Exception\ RouteNotFoundException

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

  1.     }
  2.     public function generate($name$parameters = array(), $referenceType self::ABSOLUTE_PATH)
  3.     {
  4.         if (!isset(self::$declaredRoutes[$name])) {
  5.             throw new RouteNotFoundException(sprintf('Unable to generate a URL for the named route "%s" as such route does not exist.'$name));
  6.         }
  7.         list($variables$defaults$requirements$tokens$hostTokens$requiredSchemes) = self::$declaredRoutes[$name];
  8.         return $this->doGenerate($variables$defaults$requirements$tokens$parameters$name$referenceType$hostTokens$requiredSchemes);
appDevDebugProjectContainerUrlGenerator->generate('news_page', array(), 1) in vendor/symfony/symfony/src/Symfony/Component/Routing/Router.php (line 240)
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function generate($name$parameters = array(), $referenceType self::ABSOLUTE_PATH)
  5.     {
  6.         return $this->getGenerator()->generate($name$parameters$referenceType);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
Router->generate('news_page', array(), 1) in vendor/symfony/symfony/src/Symfony/Bridge/Twig/Extension/RoutingExtension.php (line 57)
  1.      *
  2.      * @return string
  3.      */
  4.     public function getPath($name$parameters = array(), $relative false)
  5.     {
  6.         return $this->generator->generate($name$parameters$relative UrlGeneratorInterface::RELATIVE_PATH UrlGeneratorInterface::ABSOLUTE_PATH);
  7.     }
  8.     /**
  9.      * @param string $name
  10.      * @param array  $parameters
  1.         // line 34
  2.         echo (((isset($context["newsActive"]) || array_key_exists("newsActive"$context))) ? ("active") : (""));
  3.         echo "\">
  4.                     <a class=\"nav-link\" href=\"";
  5.         // line 35
  6.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("news_page");
  7.         echo "\">";
  8.         echo twig_escape_filter($this->env$this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("News"), "html"nulltrue);
  9.         echo "</a>
  10.                 </li>
  11.                 <li class=\"nav-item ";
__TwigTemplate_02edbabbda72a9cf605328d4bc2c5f3bbf801966563fdabaa636e92fd8688592->doDisplay(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true), array()) in vendor/twig/twig/lib/Twig/Template.php (line 432)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = array())
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Twig_Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
Twig_Template->displayWithErrorHandling(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true), array()) in vendor/twig/twig/lib/Twig/Template.php (line 403)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = array())
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
Twig_Template->display(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true)) in vendor/twig/twig/lib/Twig/Template.php (line 411)
  1.     public function render(array $context)
  2.     {
  3.         $level ob_get_level();
  4.         ob_start();
  5.         try {
  6.             $this->display($context);
  7.         } catch (Exception $e) {
  8.             while (ob_get_level() > $level) {
  9.                 ob_end_clean();
  10.             }
Twig_Template->render(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true)) in vendor/twig/twig/lib/Twig/Extension/Core.php (line 1521)
  1.         }
  2.     }
  3.     $result null;
  4.     try {
  5.         $result $env->resolveTemplate($template)->render($variables);
  6.     } catch (Twig_Error_Loader $e) {
  7.         if (!$ignoreMissing) {
  8.             if ($isSandboxed && !$alreadySandboxed) {
  9.                 $sandbox->disableSandbox();
  10.             }
twig_include(object(Twig_Environment), array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true), 'parts/nav.html.twig') in var/cache/dev/twig/58/58e2e30834f266e8296d2f08ea57a5c63f72081fc69df673c01f4b7ade918d15.php (line 123)
  1.         </script>
  2.     </head>
  3.     <body>
  4.     ";
  5.         // line 42
  6.         echo twig_include($this->env$context"parts/nav.html.twig");
  7.         echo "
  8.     ";
  9.         // line 43
  10.         echo twig_include($this->env$context"parts/alert_message.html.twig");
  11.         echo "
__TwigTemplate_f3e5b6dccf9a6d9b79fbc77ad4cc75eb024ea8878b951526f06247fbce312ead->doDisplay(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true), array('meta' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_meta'), 'title' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_f3e5b6dccf9a6d9b79fbc77ad4cc75eb024ea8878b951526f06247fbce312ead), 'block_stylesheets'), 'body' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_body'), 'javascripts' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_javascripts'))) in vendor/twig/twig/lib/Twig/Template.php (line 432)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = array())
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Twig_Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
Twig_Template->displayWithErrorHandling(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true), array('meta' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_meta'), 'title' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_f3e5b6dccf9a6d9b79fbc77ad4cc75eb024ea8878b951526f06247fbce312ead), 'block_stylesheets'), 'body' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_body'), 'javascripts' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_javascripts'))) in vendor/twig/twig/lib/Twig/Template.php (line 403)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = array())
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
Twig_Template->display(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true), array('meta' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_meta'), 'title' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_title'), 'body' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_body'), 'javascripts' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_javascripts'))) in var/cache/dev/twig/93/93642fe49439ae078f40678132b144d1591c53b4b7159ca18475921998c6d6e7.php (line 42)
  1. ($context["page"] ?? $this->getContext($context"page")), "metaKeywords", array()), "ogImage" => $this->getAttribute(        // line 6
  2. ($context["page"] ?? $this->getContext($context"page")), "pageOgImage", array()));
  3.         // line 12
  4.         $context["homeActive"] = true;
  5.         // line 1
  6.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  7.         
  8.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  9.         
  10.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514->doDisplay(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel & Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true), array('meta' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_meta'), 'title' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_title'), 'body' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_body'), 'javascripts' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_javascripts'))) in vendor/twig/twig/lib/Twig/Template.php (line 432)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = array())
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Twig_Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
Twig_Template->displayWithErrorHandling(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am')), array('meta' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_meta'), 'title' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_title'), 'body' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_body'), 'javascripts' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_javascripts'))) in vendor/twig/twig/lib/Twig/Template.php (line 403)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = array())
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
Twig_Template->display(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)))) in vendor/twig/twig/lib/Twig/Template.php (line 411)
  1.     public function render(array $context)
  2.     {
  3.         $level ob_get_level();
  4.         ob_start();
  5.         try {
  6.             $this->display($context);
  7.         } catch (Exception $e) {
  8.             while (ob_get_level() > $level) {
  9.                 ob_end_clean();
  10.             }
Twig_Template->render(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)))) in vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php (line 49)
  1.      *
  2.      * @throws Error if something went wrong like a thrown exception while rendering the template
  3.      */
  4.     public function render($name, array $parameters = array())
  5.     {
  6.         return $this->load($name)->render($parameters);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      *
TwigEngine->render('page/index.html.twig', array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)))) in vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php (line 45)
  1.      * {@inheritdoc}
  2.      */
  3.     public function render($name, array $parameters = array())
  4.     {
  5.         try {
  6.             return parent::render($name$parameters);
  7.         } catch (Error $e) {
  8.             if ($name instanceof TemplateReference && !method_exists($e'setSourceContext')) {
  9.                 try {
  10.                     // try to get the real name of the template where the error occurred
  11.                     $name $e->getTemplateName();
TwigEngine->render('page/index.html.twig', array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)))) in vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php (line 284)
  1.      * @final since version 3.4
  2.      */
  3.     protected function render($view, array $parameters = array(), Response $response null)
  4.     {
  5.         if ($this->container->has('templating')) {
  6.             $content $this->container->get('templating')->render($view$parameters);
  7.         } elseif ($this->container->has('twig')) {
  8.             $content $this->container->get('twig')->render($view$parameters);
  9.         } else {
  10.             throw new \LogicException('You can not use the "render" method if the Templating Component or the Twig Bundle are not available. Try running "composer require symfony/twig-bundle".');
  11.         }
Controller->render('page/index.html.twig', array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)))) in src/AppBundle/Controller/DefaultController.php (line 51)
  1.             'eventsPage' => $eventsPage,
  2.             'diningPage' => $diningPage,
  3.             'fitnessPage' => $fitnessPage,
  4.             'galleryPage' => $galleryPage,
  5.             'galleryCateg' => $galleryCategory,
  6.             'gallery' => $gallery,
  7.         ]);
  8.     }
  9.     /**
  10.      * @Route("/{_locale}/about", name="about_page",
DefaultController->indexAction(object(Request), 'en') in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 151)
  1.         $this->dispatcher->dispatch(KernelEvents::CONTROLLER_ARGUMENTS$event);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response = \call_user_func_array($controller$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new GetResponseForControllerResultEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch(KernelEvents::VIEW$event);
HttpKernel->handleRaw(object(Request), 1) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 68)
  1.     public function handle(Request $request$type HttpKernelInterface::MASTER_REQUEST$catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level'ob_get_level());
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
HttpKernel->handle(object(Request), 1, true) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php (line 200)
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle(object(Request)) in web/app.php (line 20)
  1. //$kernel = new AppCache($kernel);
  2. // When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter
  3. //Request::enableHttpMethodParameterOverride();
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Stack Traces 2

[2/2] Twig_Error_Runtime

Twig_Error_Runtime:
An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "news_page" as such route does not exist.").

  at app/Resources/views/parts/nav.html.twig:35
  at Twig_Template->displayWithErrorHandling(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true), array())
     (vendor/twig/twig/lib/Twig/Template.php:403)
  at Twig_Template->display(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true))
     (vendor/twig/twig/lib/Twig/Template.php:411)
  at Twig_Template->render(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true))
     (vendor/twig/twig/lib/Twig/Extension/Core.php:1521)
  at twig_include(object(Twig_Environment), array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true), 'parts/nav.html.twig')
     (var/cache/dev/twig/58/58e2e30834f266e8296d2f08ea57a5c63f72081fc69df673c01f4b7ade918d15.php:123)
  at __TwigTemplate_f3e5b6dccf9a6d9b79fbc77ad4cc75eb024ea8878b951526f06247fbce312ead->doDisplay(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true), array('meta' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_meta'), 'title' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_f3e5b6dccf9a6d9b79fbc77ad4cc75eb024ea8878b951526f06247fbce312ead), 'block_stylesheets'), 'body' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_body'), 'javascripts' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_javascripts')))
     (vendor/twig/twig/lib/Twig/Template.php:432)
  at Twig_Template->displayWithErrorHandling(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true), array('meta' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_meta'), 'title' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_f3e5b6dccf9a6d9b79fbc77ad4cc75eb024ea8878b951526f06247fbce312ead), 'block_stylesheets'), 'body' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_body'), 'javascripts' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_javascripts')))
     (vendor/twig/twig/lib/Twig/Template.php:403)
  at Twig_Template->display(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true), array('meta' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_meta'), 'title' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_title'), 'body' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_body'), 'javascripts' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_javascripts')))
     (var/cache/dev/twig/93/93642fe49439ae078f40678132b144d1591c53b4b7159ca18475921998c6d6e7.php:42)
  at __TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514->doDisplay(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true), array('meta' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_meta'), 'title' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_title'), 'body' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_body'), 'javascripts' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_javascripts')))
     (vendor/twig/twig/lib/Twig/Template.php:432)
  at Twig_Template->displayWithErrorHandling(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am')), array('meta' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_meta'), 'title' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_title'), 'body' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_body'), 'javascripts' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_javascripts')))
     (vendor/twig/twig/lib/Twig/Template.php:403)
  at Twig_Template->display(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery))))
     (vendor/twig/twig/lib/Twig/Template.php:411)
  at Twig_Template->render(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery))))
     (vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php:49)
  at Symfony\Bridge\Twig\TwigEngine->render('page/index.html.twig', array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery))))
     (vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php:45)
  at Symfony\Bundle\TwigBundle\TwigEngine->render('page/index.html.twig', array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery))))
     (vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php:284)
  at Symfony\Bundle\FrameworkBundle\Controller\Controller->render('page/index.html.twig', array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery))))
     (src/AppBundle/Controller/DefaultController.php:51)
  at AppBundle\Controller\DefaultController->indexAction(object(Request), 'en')
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (web/app.php:20)

                                

[1/2] RouteNotFoundException

Symfony\Component\Routing\Exception\RouteNotFoundException:
Unable to generate a URL for the named route "news_page" as such route does not exist.

  at var/cache/dev/appDevDebugProjectContainerUrlGenerator.php:174
  at appDevDebugProjectContainerUrlGenerator->generate('news_page', array(), 1)
     (vendor/symfony/symfony/src/Symfony/Component/Routing/Router.php:240)
  at Symfony\Component\Routing\Router->generate('news_page', array(), 1)
     (vendor/symfony/symfony/src/Symfony/Bridge/Twig/Extension/RoutingExtension.php:57)
  at Symfony\Bridge\Twig\Extension\RoutingExtension->getPath('news_page')
     (var/cache/dev/twig/ac/ac37b5f54361a56f66554ae46650e56bbce718fb2790237b55e44f932754b3c8.php:109)
  at __TwigTemplate_02edbabbda72a9cf605328d4bc2c5f3bbf801966563fdabaa636e92fd8688592->doDisplay(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true), array())
     (vendor/twig/twig/lib/Twig/Template.php:432)
  at Twig_Template->displayWithErrorHandling(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true), array())
     (vendor/twig/twig/lib/Twig/Template.php:403)
  at Twig_Template->display(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true))
     (vendor/twig/twig/lib/Twig/Template.php:411)
  at Twig_Template->render(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true))
     (vendor/twig/twig/lib/Twig/Extension/Core.php:1521)
  at twig_include(object(Twig_Environment), array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true), 'parts/nav.html.twig')
     (var/cache/dev/twig/58/58e2e30834f266e8296d2f08ea57a5c63f72081fc69df673c01f4b7ade918d15.php:123)
  at __TwigTemplate_f3e5b6dccf9a6d9b79fbc77ad4cc75eb024ea8878b951526f06247fbce312ead->doDisplay(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true), array('meta' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_meta'), 'title' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_f3e5b6dccf9a6d9b79fbc77ad4cc75eb024ea8878b951526f06247fbce312ead), 'block_stylesheets'), 'body' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_body'), 'javascripts' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_javascripts')))
     (vendor/twig/twig/lib/Twig/Template.php:432)
  at Twig_Template->displayWithErrorHandling(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true), array('meta' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_meta'), 'title' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_f3e5b6dccf9a6d9b79fbc77ad4cc75eb024ea8878b951526f06247fbce312ead), 'block_stylesheets'), 'body' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_body'), 'javascripts' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_javascripts')))
     (vendor/twig/twig/lib/Twig/Template.php:403)
  at Twig_Template->display(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true), array('meta' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_meta'), 'title' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_title'), 'body' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_body'), 'javascripts' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_javascripts')))
     (var/cache/dev/twig/93/93642fe49439ae078f40678132b144d1591c53b4b7159ca18475921998c6d6e7.php:42)
  at __TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514->doDisplay(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am'), 'metaParams' => array('title' => 'Home Page', 'description' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'keywords' => 'Welcome to Ramada Hotel &amp; Suites by Wyndham Yerevan', 'ogImage' => '/images/page/ramada-lobby-for-web-min.jpg'), 'homeActive' => true), array('meta' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_meta'), 'title' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_title'), 'body' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_body'), 'javascripts' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_javascripts')))
     (vendor/twig/twig/lib/Twig/Template.php:432)
  at Twig_Template->displayWithErrorHandling(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery)), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('en', 'ru', 'am')), array('meta' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_meta'), 'title' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_title'), 'body' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_body'), 'javascripts' => array(object(__TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514), 'block_javascripts')))
     (vendor/twig/twig/lib/Twig/Template.php:403)
  at Twig_Template->display(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery))))
     (vendor/twig/twig/lib/Twig/Template.php:411)
  at Twig_Template->render(array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery))))
     (vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php:49)
  at Symfony\Bridge\Twig\TwigEngine->render('page/index.html.twig', array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery))))
     (vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php:45)
  at Symfony\Bundle\TwigBundle\TwigEngine->render('page/index.html.twig', array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery))))
     (vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php:284)
  at Symfony\Bundle\FrameworkBundle\Controller\Controller->render('page/index.html.twig', array('page' => object(Page), 'sliders' => array(object(Slider), object(Slider), object(Slider), object(Slider), object(Slider)), 'aboutPage' => object(Page), 'roomPage' => object(Page), 'eventsPage' => object(Page), 'diningPage' => object(Page), 'fitnessPage' => object(Page), 'galleryPage' => object(Page), 'galleryCateg' => array(object(GalleryCategory), object(GalleryCategory), object(GalleryCategory), object(GalleryCategory)), 'gallery' => array(object(Gallery), object(Gallery), object(Gallery))))
     (src/AppBundle/Controller/DefaultController.php:51)
  at AppBundle\Controller\DefaultController->indexAction(object(Request), 'en')
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (web/app.php:20)