Twig_Error_Runtime

An exception has been thrown during the rendering of a template ("") in "/views/site/documentsListView.twig" at line 35.

/var/www/html/protected/libs/Twig/Template.php(279)

267                 $e->setTemplateFile($this->getTemplateName());
268             }
269 
270             // this is mostly useful for Twig_Error_Loader exceptions
271             // see Twig_Error_Loader
272             if (false === $e->getTemplateLine()) {
273                 $e->setTemplateLine(-1);
274                 $e->guess();
275             }
276 
277             throw $e;
278         } catch (Exception $e) {
279             throw new Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, null, $e);
280         }
281     }
282 
283     /**
284      * Auto-generated method to display the template with the given context.
285      *
286      * @param array $context An array of parameters to pass to the template
287      * @param array $blocks  An array of blocks to pass to the template
288      */
289     abstract protected function doDisplay(array $context, array $blocks = array());
290 
291     /**

Stack Trace

#0
+
 /var/www/html/protected/libs/Twig/Template.php(238): Twig_Template->displayWithErrorHandling(array("modelsList" => array(Document, Document, Document, Document, ...), "pagination" => "<div class="b-pagination"><div class="b-pagination-inner"><ul cl...", "congressesList" => array(Congress, Congress, Congress, Congress, ...), "lastNews" => array(News, News, News, News, ...), ...), array("breadcrumbs" => array(__TwigTemplate_b1f17ba9c5b4daaf60dbb2a4261aded7, "block_breadcrumbs"), "content" => array(__TwigTemplate_b1f17ba9c5b4daaf60dbb2a4261aded7, "block_content")))
233     /**
234      * {@inheritdoc}
235      */
236     public function display(array $context, array $blocks = array())
237     {
238         $this->displayWithErrorHandling($this->env->mergeGlobals($context), $blocks);
239     }
240 
241     /**
242      * {@inheritdoc}
243      */
#1
+
 /var/www/html/protected/runtime/twig_cache/b1/f1/7ba9c5b4daaf60dbb2a4261aded7.php(27): Twig_Template->display(array("modelsList" => array(Document, Document, Document, Document, ...), "pagination" => "<div class="b-pagination"><div class="b-pagination-inner"><ul cl...", "congressesList" => array(Congress, Congress, Congress, Congress, ...), "lastNews" => array(News, News, News, News, ...), ...), array("breadcrumbs" => array(__TwigTemplate_b1f17ba9c5b4daaf60dbb2a4261aded7, "block_breadcrumbs"), "content" => array(__TwigTemplate_b1f17ba9c5b4daaf60dbb2a4261aded7, "block_content")))
22 
23     protected function doDisplay(array $context, array $blocks = array())
24     {
25         // line 3
26         $context["pageTitle"] = "Документы";
27         $this->parent->display($context, array_merge($this->blocks, $blocks));
28     }
29 
30     // line 5
31     public function block_breadcrumbs($context, array $blocks = array())
32     {
#2
+
 /var/www/html/protected/libs/Twig/Template.php(264): __TwigTemplate_b1f17ba9c5b4daaf60dbb2a4261aded7->doDisplay(array("modelsList" => array(Document, Document, Document, Document, ...), "pagination" => "<div class="b-pagination"><div class="b-pagination-inner"><ul cl...", "congressesList" => array(Congress, Congress, Congress, Congress, ...), "lastNews" => array(News, News, News, News, ...), ...), array())
259     }
260 
261     protected function displayWithErrorHandling(array $context, array $blocks = array())
262     {
263         try {
264             $this->doDisplay($context, $blocks);
265         } catch (Twig_Error $e) {
266             if (!$e->getTemplateFile()) {
267                 $e->setTemplateFile($this->getTemplateName());
268             }
269 
2024-03-19 05:00:14 Apache/2.4.7 (Ubuntu) Yii Framework/1.1.14