Symfony Exception

RuntimeError

HTTP 500 Internal Server Error

Variable "page" does not exist.

Exception

Twig\Error\ RuntimeError

  1.   <meta http-equiv="X-UA-Compatible" content="IE=edge">
  2.   <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0, shrink-to-fit=no; "/>
  3.   <meta name="cmsmagazine" content="d861abde084bbfe4c6a397bda4831501"/>
  4.   <title>{% block title %}{{ page.metaTitle }}{% endblock %}</title>
  5.   <meta name="description" content="{% block description %}{{ page.metaDescription }}{% endblock %}">
  6.   <meta name="keywords" content="{% block keywords %}{{ page.metaKeywords }}{% endblock %}">
  7.   <meta name="yandex-verification" content="55211b038c7d3fb0">
  8.   <meta name="yandex-verification" content="7563d08dede749ae"/>
  9.   <meta name="google-site-verification" content="OG1nY1jWtrE9biem-Ad_EFMaljCU5Sm8gG19pscqJjc"/>
  10.   <meta name="format-detection" content="telephone=no">
  11.   <meta name="theme-color" content="#000000"/>
  1.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""keywords"));
  2.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  3.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""keywords"));
  4.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'11$this->source); })()), "metaKeywords", [], "any"falsefalsefalse11), "html"nulltrue);
  5.         
  6.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  7.         
  8.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
in vendor/twig/twig/src/Template.php->block_keywords (line 182)
  1.             throw new \LogicException('A block must be a method on a \Twig\Template instance.');
  2.         }
  3.         if (null !== $template) {
  4.             try {
  5.                 $template->$block($context$blocks);
  6.             } catch (Error $e) {
  7.                 if (!$e->getSourceContext()) {
  8.                     $e->setSourceContext($template->getSourceContext());
  9.                 }
  1.         // line 10
  2.         $this->displayBlock('description'$context$blocks);
  3.         echo "\">
  4.   <meta name=\"keywords\" content=\"";
  5.         // line 11
  6.         $this->displayBlock('keywords'$context$blocks);
  7.         echo "\">
  8.   <meta name=\"yandex-verification\" content=\"55211b038c7d3fb0\">
  9.   <meta name=\"yandex-verification\" content=\"7563d08dede749ae\"/>
  10.   <meta name=\"google-site-verification\" content=\"OG1nY1jWtrE9biem-Ad_EFMaljCU5Sm8gG19pscqJjc\"/>
  11.   <meta name=\"format-detection\" content=\"telephone=no\">
in vendor/twig/twig/src/Template.php->doDisplay (line 405)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
in vendor/twig/twig/src/Template.php->displayWithErrorHandling (line 378)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  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();
  1.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""TroikaRealEstateBundle:About:news.html.twig"));
  3.         $this->parent $this->loadTemplate("TroikaRealEstateBundle:Default:layout.html.twig""TroikaRealEstateBundle:About:news.html.twig"1);
  4.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  5.         
  6.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  7.         
  8.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
in vendor/twig/twig/src/Template.php->doDisplay (line 405)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
in vendor/twig/twig/src/Template.php->displayWithErrorHandling (line 378)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  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();
in vendor/twig/twig/src/Template.php->display (line 390)
  1.             ob_start();
  2.         } else {
  3.             ob_start(function () { return ''; });
  4.         }
  5.         try {
  6.             $this->display($context);
  7.         } catch (\Throwable $e) {
  8.             while (ob_get_level() > $level) {
  9.                 ob_end_clean();
  10.             }
  1.      *
  2.      * @throws Error if something went wrong like a thrown exception while rendering the template
  3.      */
  4.     public function render($name, array $parameters = [])
  5.     {
  6.         return $this->load($name)->render($parameters);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      *
  1.     protected function render(string $view, array $parameters = [], Response $response null): Response
  2.     {
  3.         if ($this->container->has('templating') && $this->container->get('templating')->supports($view)) {
  4.             @trigger_error('Using the "templating" service is deprecated since version 4.3 and will be removed in 5.0; use Twig instead.', \E_USER_DEPRECATED);
  5.             $content $this->container->get('templating')->render($view$parameters);
  6.         } elseif ($this->container->has('twig')) {
  7.             $content $this->container->get('twig')->render($view$parameters);
  8.         } else {
  9.             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".');
  10.         }
AbstractController->render() in src/Troika/RealEstateBundle/Controller/DefaultController.php (line 407)
  1.     public function newsAction()
  2.     {
  3.         $page $_GET['page'] ?? 1;
  4.         $news $this->container->get('news.model')->getPage($page);
  5.         return $this->render('TroikaRealEstateBundle:About:news.html.twig', ['news' => $news'year' => null]);
  6.     }
  7.     public function newsByYearAction($year)
  8.     {
  9.         $date getdate();
in vendor/symfony/http-kernel/HttpKernel.php->newsAction (line 169)
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  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) {
  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() in web/app.php (line 52)
  1. // When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter
  2. //Request::enableHttpMethodParameterOverride();
  3.     $request Request::createFromGlobals();
  4.     try {
  5.         $response $kernel->handle($requestHttpKernelInterface::MASTER_REQUESTtrue); //$dev
  6.     } catch (Exception $e) {
  7.         if ($dev) {
  8.             if (property_exists($e'xdebug_message')) {
  9.                 $message $e->xdebug_message;
  10.             } else {

Logs 1

Level Channel Message
CRITICAL 09:43:36 request Uncaught PHP Exception Twig\Error\RuntimeError: "Variable "page" does not exist." at /home/troikaestate/public_html/src/Troika/RealEstateBundle/Resources/views/Default/layout.html.twig line 11
{
    "exception": {
        "xdebug_message": "<tr><th align='left' bgcolor='#f57900' colspan=\"5\"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Twig\\Error\\RuntimeError: Variable \"page\" does not exist. in /home/troikaestate/public_html/src/Troika/RealEstateBundle/Resources/views/Default/layout.html.twig on line <i>11</i></th></tr>\n<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>\n<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>\n<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0001</td><td bgcolor='#eeeeec' align='right'>359920</td><td bgcolor='#eeeeec'>{main}(  )</td><td title='/home/troikaestate/public_html/web/app.php' bgcolor='#eeeeec'>.../app.php<b>:</b>0</td></tr>\n<tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0033</td><td bgcolor='#eeeeec' align='right'>406320</td><td bgcolor='#eeeeec'>Symfony\\Component\\HttpKernel\\Kernel->handle( <span>$request = </span><span>class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = [...] }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = [...] }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = [...] }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = [...] }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = [...] }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = [...] }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = [...]; protected $cacheControl = [...] }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = &#39;/news&#39;; protected $requestUri = &#39;/news&#39;; protected $baseUrl = &#39;&#39;; protected $basePath = NULL; protected $method = &#39;GET&#39;; protected $format = NULL; protected $session = class Closure { virtual $closure = &quot;$this-&gt;Symfony\\Component\\HttpKernel\\EventListener\\{closure}&quot; }; protected $locale = NULL; protected $defaultLocale = &#39;ru&#39;; private $preferredFormat = NULL; private $isHostValid = TRUE; private $isForwardedValid = TRUE }</span>, <span>$type = </span><span>1</span>, <span>$catch = </span><span>TRUE</span> )</td><td title='/home/troikaestate/public_html/web/app.php' bgcolor='#eeeeec'>.../app.php<b>:</b>52</td></tr>\n<tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0857</td><td bgcolor='#eeeeec' align='right'>1099720</td><td bgcolor='#eeeeec'>Symfony\\Component\\HttpKernel\\HttpKernel->handle( <span>$request = </span><span>class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = [...] }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = [...] }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = [...] }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = [...] }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = [...] }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = [...] }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = [...]; protected $cacheControl = [...] }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = &#39;/news&#39;; protected $requestUri = &#39;/news&#39;; protected $baseUrl = &#39;&#39;; protected $basePath = NULL; protected $method = &#39;GET&#39;; protected $format = NULL; protected $session = class Closure { virtual $closure = &quot;$this-&gt;Symfony\\Component\\HttpKernel\\EventListener\\{closure}&quot; }; protected $locale = NULL; protected $defaultLocale = &#39;ru&#39;; private $preferredFormat = NULL; private $isHostValid = TRUE; private $isForwardedValid = TRUE }</span>, <span>$type = </span><span>1</span>, <span>$catch = </span><span>TRUE</span> )</td><td title='/home/troikaestate/public_html/vendor/symfony/http-kernel/Kernel.php' bgcolor='#eeeeec'>.../Kernel.php<b>:</b>201</td></tr>\n<tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0857</td><td bgcolor='#eeeeec' align='right'>1100512</td><td bgcolor='#eeeeec'>Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw( <span>$request = </span><span>class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = [...] }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = [...] }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = [...] }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = [...] }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = [...] }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = [...] }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = [...]; protected $cacheControl = [...] }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = &#39;/news&#39;; protected $requestUri = &#39;/news&#39;; protected $baseUrl = &#39;&#39;; protected $basePath = NULL; protected $method = &#39;GET&#39;; protected $format = NULL; protected $session = class Closure { virtual $closure = &quot;$this-&gt;Symfony\\Component\\HttpKernel\\EventListener\\{closure}&quot; }; protected $locale = NULL; protected $defaultLocale = &#39;ru&#39;; private $preferredFormat = NULL; private $isHostValid = TRUE; private $isForwardedValid = TRUE }</span>, <span>$type = </span><span>1</span> )</td><td title='/home/troikaestate/public_html/vendor/symfony/http-kernel/HttpKernel.php' bgcolor='#eeeeec'>.../HttpKernel.php<b>:</b>81</td></tr>\n<tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec' align='center'>0.1141</td><td bgcolor='#eeeeec' align='right'>1679680</td><td bgcolor='#eeeeec'>Troika\\RealEstateBundle\\Controller\\DefaultController->newsAction(  )</td><td title='/home/troikaestate/public_html/vendor/symfony/http-kernel/HttpKernel.php' bgcolor='#eeeeec'>.../HttpKernel.php<b>:</b>169</td></tr>\n<tr><td bgcolor='#eeeeec' align='center'>6</td><td bgcolor='#eeeeec' align='center'>0.1850</td><td bgcolor='#eeeeec' align='right'>3111296</td><td bgcolor='#eeeeec'>Symfony\\Bundle\\FrameworkBundle\\Controller\\AbstractController->render( <span>$view = </span><span>&#39;TroikaRealEstateBundle:About:news.html.twig&#39;</span>, <span>$parameters = </span><span>[&#39;news&#39; =&gt; class Knp\\Bundle\\PaginatorBundle\\Pagination\\SlidingPagination { private $route = &#39;troika_news&#39;; private $params = [...]; private $pageRange = 5; private $pageLimit = NULL; private $template = &#39;TroikaRealEstateBundle:Pagination:pagination.html.twig&#39;; private $sortableTemplate = &#39;@KnpPaginator/Pagination/sortable_link.html.twig&#39;; private $filtrationTemplate = &#39;@KnpPaginator/Pagination/filtration.html.twig&#39;; protected $currentPageNumber = 1; protected $numItemsPerPage = 6; protected $items = [...]; protected $totalCount = 7; protected $paginatorOptions = [...]; protected $customParameters = [...] }, &#39;year&#39; =&gt; NULL]</span>, <span>$response = </span>??? )</td><td title='/home/troikaestate/public_html/src/Troika/RealEstateBundle/Controller/DefaultController.php' bgcolor='#eeeeec'>.../DefaultController.php<b>:</b>407</td></tr>\n<tr><td bgcolor='#eeeeec' align='center'>7</td><td bgcolor='#eeeeec' align='center'>0.2036</td><td bgcolor='#eeeeec' align='right'>3452168</td><td bgcolor='#eeeeec'>Symfony\\Bridge\\Twig\\TwigEngine->render( <span>$name = </span><span>&#39;TroikaRealEstateBundle:About:news.html.twig&#39;</span>, <span>$parameters = </span><span>[&#39;news&#39; =&gt; class Knp\\Bundle\\PaginatorBundle\\Pagination\\SlidingPagination { private $route = &#39;troika_news&#39;; private $params = [...]; private $pageRange = 5; private $pageLimit = NULL; private $template = &#39;TroikaRealEstateBundle:Pagination:pagination.html.twig&#39;; private $sortableTemplate = &#39;@KnpPaginator/Pagination/sortable_link.html.twig&#39;; private $filtrationTemplate = &#39;@KnpPaginator/Pagination/filtration.html.twig&#39;; protected $currentPageNumber = 1; protected $numItemsPerPage = 6; protected $items = [...]; protected $totalCount = 7; protected $paginatorOptions = [...]; protected $customParameters = [...] }, &#39;year&#39; =&gt; NULL]</span> )</td><td title='/home/troikaestate/public_html/vendor/symfony/framework-bundle/Controller/ControllerTrait.php' bgcolor='#eeeeec'>.../ControllerTrait.php<b>:</b>233</td></tr>\n<tr><td bgcolor='#eeeeec' align='center'>8</td><td bgcolor='#eeeeec' align='center'>0.2118</td><td bgcolor='#eeeeec' align='right'>3533736</td><td bgcolor='#eeeeec'>Twig\\Template->render( <span>$context = </span><span>[&#39;news&#39; =&gt; class Knp\\Bundle\\PaginatorBundle\\Pagination\\SlidingPagination { private $route = &#39;troika_news&#39;; private $params = [...]; private $pageRange = 5; private $pageLimit = NULL; private $template = &#39;TroikaRealEstateBundle:Pagination:pagination.html.twig&#39;; private $sortableTemplate = &#39;@KnpPaginator/Pagination/sortable_link.html.twig&#39;; private $filtrationTemplate = &#39;@KnpPaginator/Pagination/filtration.html.twig&#39;; protected $currentPageNumber = 1; protected $numItemsPerPage = 6; protected $items = [...]; protected $totalCount = 7; protected $paginatorOptions = [...]; protected $customParameters = [...] }, &#39;year&#39; =&gt; NULL]</span> )</td><td title='/home/troikaestate/public_html/vendor/symfony/twig-bridge/TwigEngine.php' bgcolor='#eeeeec'>.../TwigEngine.php<b>:</b>54</td></tr>\n"
    }
}

Stack Trace

RuntimeError

Twig\Error\RuntimeError:
Variable "page" does not exist.

  at src/Troika/RealEstateBundle/Resources/views/Default/layout.html.twig:11
  at __TwigTemplate_d4b7182f4c02713aade9853b105ca554fd9c849f0e45ce3805f2876dd6dc71cd->{closure}()
     (var/cache/dev/twig/03/03bf7d28cfa1cd368d82e952ede644e39f786b3510e64009384a644776c3aedb.php:287)
  at __TwigTemplate_d4b7182f4c02713aade9853b105ca554fd9c849f0e45ce3805f2876dd6dc71cd->block_keywords()
     (vendor/twig/twig/src/Template.php:182)
  at Twig\Template->displayBlock()
     (var/cache/dev/twig/03/03bf7d28cfa1cd368d82e952ede644e39f786b3510e64009384a644776c3aedb.php:73)
  at __TwigTemplate_d4b7182f4c02713aade9853b105ca554fd9c849f0e45ce3805f2876dd6dc71cd->doDisplay()
     (vendor/twig/twig/src/Template.php:405)
  at Twig\Template->displayWithErrorHandling()
     (vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display()
     (var/cache/dev/twig/ea/ea13edfb47e43e7f6feadd2c3e84e82e6af18beb1d551170d7eb61c7110b33d2.php:50)
  at __TwigTemplate_f87798f25a6118c515012ae24221cabac49b6f5107942310905f6b908ab6d531->doDisplay()
     (vendor/twig/twig/src/Template.php:405)
  at Twig\Template->displayWithErrorHandling()
     (vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display()
     (vendor/twig/twig/src/Template.php:390)
  at Twig\Template->render()
     (vendor/symfony/twig-bridge/TwigEngine.php:54)
  at Symfony\Bridge\Twig\TwigEngine->render()
     (vendor/symfony/framework-bundle/Controller/ControllerTrait.php:233)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
     (src/Troika/RealEstateBundle/Controller/DefaultController.php:407)
  at Troika\RealEstateBundle\Controller\DefaultController->newsAction()
     (vendor/symfony/http-kernel/HttpKernel.php:169)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:81)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:201)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (web/app.php:52)