<div class=\"col-md-12\">
<h3>
<span style=\"color:#495EAC\"><b>APCEF</b></span><br>
<b>";
// line 33
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["colony"]) ? $context["colony"] : $this->getContext($context, "colony")), "title", array()), "html", null, true);
echo "</b>
</h3>
";
// line 35
echo $this->getAttribute((isset($context["colony"]) ? $context["colony"] : $this->getContext($context, "colony")), "description", array());
if (null !== $template && !$template instanceof self) {
throw new LogicException('A block must be a method on a Twig_Template instance.');
}
if (null !== $template) {
try {
$template->$block($context, $blocks);
} catch (Twig_Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($template->getSourceContext());
}
if (false === $e->getTemplateLine()) {
// line 90
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("AppBundle:Default:menu"));
echo "
";
// line 91
$this->displayBlock('body', $context, $blocks);
// line 92
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("AppBundle:Default:menufooter"));
echo "
<div class=\"container\">
<div class=\"row info-rodape\">
return ob_get_clean();
}
protected function displayWithErrorHandling(array $context, array $blocks = array())
{
try {
$this->doDisplay($context, $blocks);
} catch (Twig_Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
if (false === $e->getTemplateLine()) {
protected function doDisplay(array $context, array $blocks = array())
{
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "colonias/index.html.twig"));
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
return ob_get_clean();
}
protected function displayWithErrorHandling(array $context, array $blocks = array())
{
try {
$this->doDisplay($context, $blocks);
} catch (Twig_Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
if (false === $e->getTemplateLine()) {
* {@inheritdoc}
*/
public function render($name, array $parameters = array())
{
try {
return parent::render($name, $parameters);
} catch (Error $e) {
if ($name instanceof TemplateReference && !method_exists($e, 'setSourceContext')) {
try {
// try to get the real name of the template where the error occurred
$name = $e->getTemplateName();
* @return Response A Response instance
*/
protected function render($view, array $parameters = array(), Response $response = null)
{
if ($this->container->has('templating')) {
$content = $this->container->get('templating')->render($view, $parameters);
} elseif ($this->container->has('twig')) {
$content = $this->container->get('twig')->render($view, $parameters);
} else {
throw new \LogicException('You can not use the "render" method if the Templating Component or the Twig Bundle are not available.');
}
$arguments = $this->argumentResolver->getArguments($request, $controller);
$event = new FilterControllerArgumentsEvent($this, $controller, $arguments, $request, $type);
$this->dispatcher->dispatch(KernelEvents::CONTROLLER_ARGUMENTS, $event);
$controller = $event->getController();
$arguments = $event->getArguments();
$response = \call_user_func_array($controller, $arguments);
if (!$response instanceof Response) {
$event = new GetResponseForControllerResultEvent($this, $request, $type, $response);
$this->dispatcher->dispatch(KernelEvents::VIEW, $event);
if ($event->hasResponse()) {
$response = $event->getResponse();
}
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$request->headers->set('X-Php-Ob-Level', ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
//$kernel = new AppCache($kernel);
// When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter
//Request::enableHttpMethodParameterOverride();
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
No log messages
Twig_Error_Runtime |
---|
Twig_Error_Runtime: Impossible to access an attribute ("title") on a null variable. at app/Resources/views/colonias/index.html.twig:33 at Twig_Template->getAttribute(null, 'title', array()) (var/cache/prod/twig/f6/f6ef46620349c054ee7e19015ddcf2a58e74862590dcaf4c8e8c555b465a2482.php:95) at __TwigTemplate_b03f903a5557c5cd60777c4b29ca9766c3baae877dd30bbe806e32da44ea0267->block_body(array('colonia' => 'tramanda��', 'colony' => null, 'colonyPhotos' => array(), 'app' => object(AppVariable)), array('STitle' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_STitle'), 'SDescription' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_SDescription'), 'title' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_title'), 'ogSTitle' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_ogSTitle'), 'ogType' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_ogType'), 'ogTitle' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_ogTitle'), 'ogDescription' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_ogDescription'), 'ogImageAlt' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_ogImageAlt'), 'TwTitle' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_TwTitle'), 'TwDescription' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_TwDescription'), 'TwImg' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_TwImg'), 'body' => array(object(__TwigTemplate_b03f903a5557c5cd60777c4b29ca9766c3baae877dd30bbe806e32da44ea0267), 'block_body'), 'javascripts' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_javascripts'))) (var/cache/prod/classes.php:7812) at Twig_Template->displayBlock('body', array('colonia' => 'tramanda��', 'colony' => null, 'colonyPhotos' => array(), 'app' => object(AppVariable)), array('STitle' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_STitle'), 'SDescription' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_SDescription'), 'title' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_title'), 'ogSTitle' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_ogSTitle'), 'ogType' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_ogType'), 'ogTitle' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_ogTitle'), 'ogDescription' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_ogDescription'), 'ogImageAlt' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_ogImageAlt'), 'TwTitle' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_TwTitle'), 'TwDescription' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_TwDescription'), 'TwImg' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_TwImg'), 'body' => array(object(__TwigTemplate_b03f903a5557c5cd60777c4b29ca9766c3baae877dd30bbe806e32da44ea0267), 'block_body'), 'javascripts' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_javascripts'))) (var/cache/prod/twig/f8/f89ad9a950054e4106bc665dbf239fe0dc713cda99c7d3d9285413cd06134d82.php:163) at __TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd->doDisplay(array('colonia' => 'tramanda��', 'colony' => null, 'colonyPhotos' => array(), 'app' => object(AppVariable)), array('STitle' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_STitle'), 'SDescription' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_SDescription'), 'title' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_title'), 'ogSTitle' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_ogSTitle'), 'ogType' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_ogType'), 'ogTitle' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_ogTitle'), 'ogDescription' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_ogDescription'), 'ogImageAlt' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_ogImageAlt'), 'TwTitle' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_TwTitle'), 'TwDescription' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_TwDescription'), 'TwImg' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_TwImg'), 'body' => array(object(__TwigTemplate_b03f903a5557c5cd60777c4b29ca9766c3baae877dd30bbe806e32da44ea0267), 'block_body'), 'javascripts' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_javascripts'))) (var/cache/prod/classes.php:7930) at Twig_Template->displayWithErrorHandling(array('colonia' => 'tramanda��', 'colony' => null, 'colonyPhotos' => array(), 'app' => object(AppVariable)), array('STitle' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_STitle'), 'SDescription' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_SDescription'), 'title' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_title'), 'ogSTitle' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_ogSTitle'), 'ogType' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_ogType'), 'ogTitle' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_ogTitle'), 'ogDescription' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_ogDescription'), 'ogImageAlt' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_ogImageAlt'), 'TwTitle' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_TwTitle'), 'TwDescription' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_TwDescription'), 'TwImg' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_TwImg'), 'body' => array(object(__TwigTemplate_b03f903a5557c5cd60777c4b29ca9766c3baae877dd30bbe806e32da44ea0267), 'block_body'), 'javascripts' => array(object(__TwigTemplate_69febac98b414aa9832580c85d34d2e251ad55fdfe293b1f6bb2d25306e06ebd), 'block_javascripts'))) (var/cache/prod/classes.php:7906) at Twig_Template->display(array('colonia' => 'tramanda��', 'colony' => null, 'colonyPhotos' => array(), 'app' => object(AppVariable)), array('body' => array(object(__TwigTemplate_b03f903a5557c5cd60777c4b29ca9766c3baae877dd30bbe806e32da44ea0267), 'block_body'))) (var/cache/prod/twig/f6/f6ef46620349c054ee7e19015ddcf2a58e74862590dcaf4c8e8c555b465a2482.php:27) at __TwigTemplate_b03f903a5557c5cd60777c4b29ca9766c3baae877dd30bbe806e32da44ea0267->doDisplay(array('colonia' => 'tramanda��', 'colony' => null, 'colonyPhotos' => array(), 'app' => object(AppVariable)), array('body' => array(object(__TwigTemplate_b03f903a5557c5cd60777c4b29ca9766c3baae877dd30bbe806e32da44ea0267), 'block_body'))) (var/cache/prod/classes.php:7930) at Twig_Template->displayWithErrorHandling(array('colonia' => 'tramanda��', 'colony' => null, 'colonyPhotos' => array(), 'app' => object(AppVariable)), array('body' => array(object(__TwigTemplate_b03f903a5557c5cd60777c4b29ca9766c3baae877dd30bbe806e32da44ea0267), 'block_body'))) (var/cache/prod/classes.php:7906) at Twig_Template->display(array('colonia' => 'tramanda��', 'colony' => null, 'colonyPhotos' => array())) (var/cache/prod/classes.php:7913) at Twig_Template->render(array('colonia' => 'tramanda��', 'colony' => null, 'colonyPhotos' => array())) (vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php:49) at Symfony\Bridge\Twig\TwigEngine->render('colonias/index.html.twig', array('colonia' => 'tramanda��', 'colony' => null, 'colonyPhotos' => array())) (vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php:45) at Symfony\Bundle\TwigBundle\TwigEngine->render('colonias/index.html.twig', array('colonia' => 'tramanda��', 'colony' => null, 'colonyPhotos' => array())) (vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php:234) at Symfony\Bundle\FrameworkBundle\Controller\Controller->render('colonias/index.html.twig', array('colonia' => 'tramanda��', 'colony' => null, 'colonyPhotos' => array())) (src/AppBundle/Controller/ColoniasController.php:41) at AppBundle\Controller\ColoniasController->indexAction(object(EntityManager), 'tramanda��') at call_user_func_array(array(object(ColoniasController), 'indexAction'), array(object(EntityManager), 'tramanda��')) (var/cache/prod/classes.php:5006) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (var/cache/prod/classes.php:4961) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:169) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (web/app.php:23) |