Влаштування

В галерею

Малыш


Twig_Error_Runtime

An exception has been thrown during the rendering of a template ("Wrong image type () only use JPG, PNG or GIF images.") in "animal-images.twig" at line 5.

392. // this is mostly useful for Twig_Error_Loader exceptions
393. // see Twig_Error_Loader
394. if (false === $e->getTemplateLine()) {
395. $e->setTemplateLine(-1);
396. $e->guess();
397. }
398.
399. throw$e;
400. } catch (Exception $e) {
401. thrownew Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getTemplateName(), $e);
402. }
403. }
404.
405. /**
406. * Auto-generated method to display the template with the given context.
407. *
408. * @param array $context An array of parameters to pass to the template
409. * @param array $blocks  An array of blocks to pass to the template
410. */
411. abstractprotectedfunction doDisplay(array $context, array $blocks = array());
FunctionFile
0Twig_Template​->​displayWithErrorHandling​(Array, Array)data/​vendor/​twig/​twig/​lib/​Twig/​Template.php355
1Twig_Template​->​display​(Array)data/​vendor/​twig/​twig/​lib/​Twig/​Template.php366
2Twig_Template​->​render​(Array)data/​vendor/​twig/​twig/​lib/​Twig/​Environment.php347
3Twig_Environment​->​render​("animal-images.twig", Array)data/​vendor/​fv/​core/​classes/​View/​Twig.php44
4View_Twig​->​render​()data/​vendor/​fv/​core/​classes/​fvComponent.php30
5fvComponent​->​render​()data/​vendor/​fv/​core/​classes/​View/​Twig/​fvExtensions.php65
6View_Twig_fvExtensions​->​viewlet​("animal-images", Array)data/​cache/​twig/​d6/​d6bc584e1c0440f332a8382fb48a54a75a23bfa897e8eae724d843c955dda8fa.php23
7__TwigTemplate_05b1f1b93c0ba810aa436834c294441996fe79b87652d8fb6d80ff02fcedb093​->​doDisplay​(Array, Array)data/​vendor/​twig/​twig/​lib/​Twig/​Template.php387
8Twig_Template​->​displayWithErrorHandling​(