Key "category" does not exist as the array is empty.
500 Internal Server Error - Twig_Error_Runtime
Stack Trace
-
in src\FrontendBundle\Resources\views\Default\ServiciiPublice.html.twig at line 4
{% extends '@Frontend/base.html.twig' %}
{% block meta %}
<title>{{ activeItem.category.name }} - {{ settings['NAME_CITY'] }}</title>
<meta name="description" content="{{ activeItem.category.name }} - {{ settings['NAME_CITY'] }}">
{% endblock meta %}
-
at
Twig_Template
->getAttribute
(array(), 'category', array())
in app\cache\prod\twig\a3\a3a148839b820167e7bafcaec9cf1c34c07683b6465231ce0cbd7993a07824e0.php at line 43 -
at
__TwigTemplate_58d7024c25b15d7aa7279fcd479658d67e12167ae380e867b58a0b41f28af79a
->block_meta
('r', 'S')
in app\cache\prod\classes.php at line 4955 -
at
Twig_Template
->displayBlock
('r', 'S')
in app\cache\prod\twig\75\750a97bc5b0d775979b9a5683f8a56a6ada4cbd3099c155bed8b2b5215b8494f.php at line 50 -
at
__TwigTemplate_729c348724e3de9af155ff47e52b135d5910d02771cb52351a1a452fe263c1a7
->doDisplay
('r', 'S')
in app\cache\prod\classes.php at line 5073 -
at
Twig_Template
->displayWithErrorHandling
('r', 'S')
in app\cache\prod\classes.php at line 5049 -
at
Twig_Template
->display
('r', 'S')
in app\cache\prod\twig\a3\a3a148839b820167e7bafcaec9cf1c34c07683b6465231ce0cbd7993a07824e0.php at line 29 -
at
__TwigTemplate_58d7024c25b15d7aa7279fcd479658d67e12167ae380e867b58a0b41f28af79a
->doDisplay
('r', 'S')
in app\cache\prod\classes.php at line 5073 -
at
Twig_Template
->displayWithErrorHandling
('r', 'S')
in app\cache\prod\classes.php at line 5049 -
at
Twig_Template
->display
(array('r', 'S'))
in app\cache\prod\classes.php at line 5056 -
at
Twig_Template
->render
(array('r', 'S'))
in vendor\symfony\symfony\src\Symfony\Bridge\Twig\TwigEngine.php at line 50 -
at
TwigEngine
->render
('FrontendBundle:Default:ServiciiPublice.html.twig', array('r', 'S'))
in vendor\symfony\symfony\src\Symfony\Bundle\TwigBundle\TwigEngine.php at line 72 -
at
TwigEngine
->render
('FrontendBundle:Default:ServiciiPublice.html.twig', array('r', 'S'))
in vendor\symfony\symfony\src\Symfony\Bundle\TwigBundle\TwigEngine.php at line 99 -
at
TwigEngine
->renderResponse
('r', 'S')
in vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Controller\Controller.php at line 176 -
at
Controller
->render
('FrontendBundle:Default:ServiciiPublice.html.twig', array('r', 'S'))
in src\FrontendBundle\Controller\DefaultController.php at line 515 - at DefaultController ->ServiciiPubliceAction (object(Request), '3', 'proiecte-de-hotărâri')
-
at
call_user_func_array
(array(object(DefaultController), 'ServiciiPubliceAction'), array(object(Request), '3', 'proiecte-de-hotărâri'))
in app\bootstrap.php.cache at line 3140 -
at
HttpKernel
->handleRaw
(object(Request), '1')
in app\bootstrap.php.cache at line 3099 -
at
HttpKernel
->handle
(object(Request), '1', true)
in app\bootstrap.php.cache at line 3253 -
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in app\bootstrap.php.cache at line 2484 -
at
Kernel
->handle
(object(Request))
in web\app_dev.php at line 17