{% block stylesheets %}
{% set open = app.session.get('open') %}
{% set ckeckUserip = app.session.get('ckeckUserip') %}
{% if ckeckUserip['valid'] == 'VALID' %}
{% if open == 'open' %}
<link href="{{ asset('bundles/front/css/bootstrap.css') }}" type="text/css" rel="stylesheet" />
<link href="{{ asset('bundles/front/css/reset.css') }}" type="text/css" rel="stylesheet" />
<link href="{{ asset('bundles/front/css/preheader.css') }}" type="text/css" rel="stylesheet" />
<link href="{{ asset('bundles/front/css/header.css') }}" type="text/css" rel="stylesheet" />
$context["ckeckUserip"] = $this->getAttribute($this->getAttribute(($context["app"] ?? $this->getContext($context, "app")), "session", array()), "get", array(0 => "ckeckUserip"), "method");
// line 8
echo "
\t";
// line 9
if (($this->getAttribute(($context["ckeckUserip"] ?? $this->getContext($context, "ckeckUserip")), "valid", array(), "array") == "VALID")) {
// line 10
echo "\t";
if ((($context["open"] ?? $this->getContext($context, "open")) == "open")) {
// line 11
echo "\t\t<link href=\"";
// line 9
$this->displayBlock('title', $context, $blocks);
echo " - Neurochirurgie Tutllingen</title>
";
// line 10
$this->displayBlock('stylesheets', $context, $blocks);
// line 11
echo " <link rel=\"icon\" type=\"image/x-icon\" href=\"";
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("favicon.ico"), "html", null, true);
echo "\" />
</head>
protected function doDisplay(array $context, array $blocks = array())
{
$__internal_2a5e5dbcb5cbd1d63e2fa823c4059c2887bff05195b268e2845ffcc75c6fb906 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_2a5e5dbcb5cbd1d63e2fa823c4059c2887bff05195b268e2845ffcc75c6fb906->enter($__internal_2a5e5dbcb5cbd1d63e2fa823c4059c2887bff05195b268e2845ffcc75c6fb906_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "front/frontend.html.twig"));
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_2a5e5dbcb5cbd1d63e2fa823c4059c2887bff05195b268e2845ffcc75c6fb906->leave($__internal_2a5e5dbcb5cbd1d63e2fa823c4059c2887bff05195b268e2845ffcc75c6fb906_prof);
}
protected function doDisplay(array $context, array $blocks = array())
{
$__internal_86754f8de185afc4dcaffc6688b86061c8e5b74feb420d653b5798a77db17810 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_86754f8de185afc4dcaffc6688b86061c8e5b74feb420d653b5798a77db17810->enter($__internal_86754f8de185afc4dcaffc6688b86061c8e5b74feb420d653b5798a77db17810_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "front/login.html.twig"));
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_86754f8de185afc4dcaffc6688b86061c8e5b74feb420d653b5798a77db17810->leave($__internal_86754f8de185afc4dcaffc6688b86061c8e5b74feb420d653b5798a77db17810_prof);
}
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.');
}
if (null === $response) {
$this->dispatcher->dispatch(KernelEvents::CONTROLLER_ARGUMENTS, $event);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = call_user_func_array($controller, $arguments);
// view
if (!$response instanceof Response) {
$event = new GetResponseForControllerResultEvent($this, $request, $type, $response);
$this->dispatcher->dispatch(KernelEvents::VIEW, $event);
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 AppKernel('prod', true);
// 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 a key ("valid") on a null variable. at app/Resources/views/front/frontend.html.twig:9 at Twig_Template->getAttribute(null, 'valid', array(), 'array') (var/cache/prod/twig/29/293db513a22c439de5bc1289e957066354e4ab39ccc203b50f21cbc0e189df04.php:55) at __TwigTemplate_99eb06d294e1b3f4c0788d8a3e980644a621817e47f5e5b6adcc099429c53730->block_stylesheets(array('last_username' => null, 'error' => null, 'app' => object(AppVariable), 'open' => null, 'ckeckUserip' => null), array('title' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_99eb06d294e1b3f4c0788d8a3e980644a621817e47f5e5b6adcc099429c53730), 'block_stylesheets'), 'body' => array(object(__TwigTemplate_99eb06d294e1b3f4c0788d8a3e980644a621817e47f5e5b6adcc099429c53730), 'block_body'), 'javascripts' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_javascripts'), 'noscript' => array(object(__TwigTemplate_99eb06d294e1b3f4c0788d8a3e980644a621817e47f5e5b6adcc099429c53730), 'block_noscript'), 'main' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_main'))) (vendor/twig/twig/lib/Twig/Template.php:215) at Twig_Template->displayBlock('stylesheets', array('last_username' => null, 'error' => null, 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_99eb06d294e1b3f4c0788d8a3e980644a621817e47f5e5b6adcc099429c53730), 'block_stylesheets'), 'body' => array(object(__TwigTemplate_99eb06d294e1b3f4c0788d8a3e980644a621817e47f5e5b6adcc099429c53730), 'block_body'), 'javascripts' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_javascripts'), 'noscript' => array(object(__TwigTemplate_99eb06d294e1b3f4c0788d8a3e980644a621817e47f5e5b6adcc099429c53730), 'block_noscript'), 'main' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_main'))) (var/cache/prod/twig/61/619a071785a99565e6f9c780a528ca106b2ec39cbfc66ac6df03427fd4d2ec78.php:40) at __TwigTemplate_5669245ce54689ba0f84c14d8ca3111be4286d7fa7345f776a46714e2486d591->doDisplay(array('last_username' => null, 'error' => null, 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_99eb06d294e1b3f4c0788d8a3e980644a621817e47f5e5b6adcc099429c53730), 'block_stylesheets'), 'body' => array(object(__TwigTemplate_99eb06d294e1b3f4c0788d8a3e980644a621817e47f5e5b6adcc099429c53730), 'block_body'), 'javascripts' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_javascripts'), 'noscript' => array(object(__TwigTemplate_99eb06d294e1b3f4c0788d8a3e980644a621817e47f5e5b6adcc099429c53730), 'block_noscript'), 'main' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_main'))) (vendor/twig/twig/lib/Twig/Template.php:432) at Twig_Template->displayWithErrorHandling(array('last_username' => null, 'error' => null, 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_99eb06d294e1b3f4c0788d8a3e980644a621817e47f5e5b6adcc099429c53730), 'block_stylesheets'), 'body' => array(object(__TwigTemplate_99eb06d294e1b3f4c0788d8a3e980644a621817e47f5e5b6adcc099429c53730), 'block_body'), 'javascripts' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_javascripts'), 'noscript' => array(object(__TwigTemplate_99eb06d294e1b3f4c0788d8a3e980644a621817e47f5e5b6adcc099429c53730), 'block_noscript'), 'main' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_main'))) (vendor/twig/twig/lib/Twig/Template.php:403) at Twig_Template->display(array('last_username' => null, 'error' => null, 'app' => object(AppVariable)), array('stylesheets' => array(object(__TwigTemplate_99eb06d294e1b3f4c0788d8a3e980644a621817e47f5e5b6adcc099429c53730), 'block_stylesheets'), 'noscript' => array(object(__TwigTemplate_99eb06d294e1b3f4c0788d8a3e980644a621817e47f5e5b6adcc099429c53730), 'block_noscript'), 'javascripts' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_javascripts'), 'body' => array(object(__TwigTemplate_99eb06d294e1b3f4c0788d8a3e980644a621817e47f5e5b6adcc099429c53730), 'block_body'), 'main' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_main'), 'title' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_title'))) (var/cache/prod/twig/29/293db513a22c439de5bc1289e957066354e4ab39ccc203b50f21cbc0e189df04.php:31) at __TwigTemplate_99eb06d294e1b3f4c0788d8a3e980644a621817e47f5e5b6adcc099429c53730->doDisplay(array('last_username' => null, 'error' => null, 'app' => object(AppVariable)), array('stylesheets' => array(object(__TwigTemplate_99eb06d294e1b3f4c0788d8a3e980644a621817e47f5e5b6adcc099429c53730), 'block_stylesheets'), 'noscript' => array(object(__TwigTemplate_99eb06d294e1b3f4c0788d8a3e980644a621817e47f5e5b6adcc099429c53730), 'block_noscript'), 'javascripts' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_javascripts'), 'body' => array(object(__TwigTemplate_99eb06d294e1b3f4c0788d8a3e980644a621817e47f5e5b6adcc099429c53730), 'block_body'), 'main' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_main'), 'title' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_title'))) (vendor/twig/twig/lib/Twig/Template.php:432) at Twig_Template->displayWithErrorHandling(array('last_username' => null, 'error' => null, 'app' => object(AppVariable)), array('stylesheets' => array(object(__TwigTemplate_99eb06d294e1b3f4c0788d8a3e980644a621817e47f5e5b6adcc099429c53730), 'block_stylesheets'), 'noscript' => array(object(__TwigTemplate_99eb06d294e1b3f4c0788d8a3e980644a621817e47f5e5b6adcc099429c53730), 'block_noscript'), 'javascripts' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_javascripts'), 'body' => array(object(__TwigTemplate_99eb06d294e1b3f4c0788d8a3e980644a621817e47f5e5b6adcc099429c53730), 'block_body'), 'main' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_main'), 'title' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_title'))) (vendor/twig/twig/lib/Twig/Template.php:403) at Twig_Template->display(array('last_username' => null, 'error' => null, 'app' => object(AppVariable)), array('javascripts' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_javascripts'), 'title' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_title'), 'main' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_main'))) (var/cache/prod/twig/35/356315a89d0e3b1dc90f1709f57e8f01f05f16a95b10e82526b6bfedd2deeb49.php:29) at __TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93->doDisplay(array('last_username' => null, 'error' => null, 'app' => object(AppVariable)), array('javascripts' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_javascripts'), 'title' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_title'), 'main' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_main'))) (vendor/twig/twig/lib/Twig/Template.php:432) at Twig_Template->displayWithErrorHandling(array('last_username' => null, 'error' => null, 'app' => object(AppVariable)), array('javascripts' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_javascripts'), 'title' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_title'), 'main' => array(object(__TwigTemplate_44f386ad3e305b3ef958b6062a72725257cec259faacc3f9122ac7f5e1d0db93), 'block_main'))) (vendor/twig/twig/lib/Twig/Template.php:403) at Twig_Template->display(array('last_username' => null, 'error' => null)) (vendor/twig/twig/lib/Twig/Template.php:411) at Twig_Template->render(array('last_username' => null, 'error' => null)) (vendor/twig/twig/lib/Twig/Environment.php:363) at Twig_Environment->render('front/login.html.twig', array('last_username' => null, 'error' => null)) (vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php:286) at Symfony\Bundle\FrameworkBundle\Controller\Controller->render('front/login.html.twig', array('last_username' => null, 'error' => null)) (src/AppBundle/Controller/DefaultController.php:964) at AppBundle\Controller\DefaultController->loginAction(object(Request)) at call_user_func_array(array(object(DefaultController), 'loginAction'), array(object(Request))) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:153) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:202) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (httpdocs/app.php:22) |