Error 500 Internal Server Error

GET http://doktormayer.cz/cz/poliklinika-az-ricany?q=%2Fcz%2Fpoliklinika-az-ricany

ErrorController

Request

GET Parameters

Key Value
q
"/cz/poliklinika-az-ricany"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"error_controller"
_stopwatch_token
"00c901"
exception
Twig\Error\RuntimeError {#3207
  #message: "Variable "imageit" does not exist."
  #code: 0
  #file: "/var/www/html/var/cache/templates/199995fd46f3275be77b11de40fa1bf7.compiled"
  #line: 9
  -lineno: 9
  -name: "@kiwiCache/199995fd46f3275be77b11de40fa1bf7.compiled"
  -rawMessage: "Variable "imageit" does not exist."
  -sourcePath: "/var/www/html/var/cache/templates/199995fd46f3275be77b11de40fa1bf7.compiled"
  -sourceCode: """
    {% autoescape false %}{% if v['jeaktiv'] == 1 %}\n
    <style>\n
        .mfp-content{\n
            max-width: 700px;\n
        }\n
        .jumbotronthis{\n
            max-width: 700px;\n
            margin: 0 auto;\n
            background-image: url('{{imageit}}');\n
            background-repeat: no-repeat;\n
            background-size: cover;\n
            background-position: top center;\n
            padding: 30px;\n
            border-radius: 10px;\n
            background-color: white;\n
        }\n
        .jumbotronthis h2, .jumbotronthis p, .jumbotronthis p strong, .jumbotronthis p strong em, .jumbotronthis em{\n
            color: red;\n
        }\n
        .subnadpismy:after {\n
            content: "";\n
            display: block;\n
            width: 140px;\n
            margin: 25px auto 20px auto;\n
            height: 4px;\n
            background: white;\n
        }\n
    </style>\n
    <form id="cont-form" class="white-popup-block mfp-hide">\n
        <div class="jumbotronthis">\n
            <h2 class="subnadpismy text-center">{{name}}</h4>\n
            {{content}}\n
        </div>\n
    </form>\n
    <script>\n
        $(document).ready(function() {\n
        \t$.magnificPopup.open({\n
        \t\ttype: 'inline',\n
        \t\titems: {\n
                    src: '#cont-form' \n
                },\n
        \t\tpreloader: false,\n
        \t});\n
        });\n
    </script>\n
    {% endif %}{% endautoescape %}
    """
  trace: {
    /var/www/html/var/cache/templates/199995fd46f3275be77b11de40fa1bf7.compiled:9 {
      __TwigTemplate_e8e1f611724b74ed9b3933b07ea34fd6->{closure} …
      › margin: 0 auto;background-image: url('{{imageit}}');background-repeat: no-repeat;
    }
    /var/www/html/var/cache/templates/199995fd46f3275be77b11de40fa1bf7.compiled:9 {
      __TwigTemplate_e8e1f611724b74ed9b3933b07ea34fd6->doDisplay(array $context, array $blocks = []) …
      › margin: 0 auto;background-image: url('{{imageit}}');background-repeat: no-repeat;
    }
    /var/www/html/vendor/twig/twig/src/Template.php:394 {
      Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
      › try {    $this->doDisplay($context, $blocks);} catch (Error $e) {
    }
    /var/www/html/vendor/twig/twig/src/Template.php:367 {
      Twig\Template->display(array $context, array $blocks = []) …
      › {    $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));}
    }
    /var/www/html/vendor/twig/twig/src/Template.php:379 {
      Twig\Template->render(array $context) …
      › try {    $this->display($context);} catch (\Throwable $e) {
    }
    /var/www/html/vendor/twig/twig/src/TemplateWrapper.php:38 {
      Twig\TemplateWrapper->render(array $context = []): string …
      › {    return $this->template->render($context);}
    }
    /var/www/html/vendor/twig/twig/src/Environment.php:280 {
      Twig\Environment->render($name, array $context = []): string …
      › {    return $this->load($name)->render($context);}
    }
    /var/www/html/src/Service/Kiwi/Page/PageModuleArticle.php:189 {
      App\Service\Kiwi\Page\PageModuleArticle->getKiwiFrontendModuleBox(PageTreeModules $module, array $config) …
      › $twig = clone $this->twig;\rreturn $twig->render($this->baseLayout->cacheStringTemplate(\r    '{% autoescape false %}'.$module->getTemplate()->getTpl().'{% endautoescape %}'),\r
    }
    /var/www/html/src/Service/Kiwi/Page/PageFrontendHandle.php:129 {
      App\Service\Kiwi\Page\PageFrontendHandle->getPageData() …
      › if($append_module) {\r    $module_html = $this->page_modules_handle->getKiwiModule(md5($module->getNamespace()), $module->getNamespace())->getKiwiFrontendModuleBox($module,$this->config);\r    $placeholder_html .= $module_html;\r
    }
    /var/www/html/src/Service/Kiwi/Page/PageFrontendHandle.php:156 {
      App\Service\Kiwi\Page\PageFrontendHandle->getPageHtml() …
      ›     '{% autoescape false %}'.$this->page->getLayout()->getTpl().'{% endautoescape %}'),\r    $this->getPageData()\r);\r
    }
    /var/www/html/src/Controller/Kiwi/FrontPage/DefaultController.php:101 {
      App\Controller\Kiwi\FrontPage\DefaultController->pageAction(Request $request, PageHandle $pageHandle, WebHandle $webHandle, PageFrontendHandle $pageFrontendHandle, $lang, $page_uri = false, $up_page_uri = false, PageTree $page_by_uid = null) …
      › } else {    return $pageFrontendHandle->getPageHtml();}
    }
    /var/www/html/vendor/symfony/http-kernel/HttpKernel.php:181 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /var/www/html/vendor/symfony/http-kernel/HttpKernel.php:76 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {
    }
    /var/www/html/vendor/symfony/http-kernel/Kernel.php:197 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
    }
    /var/www/html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
    }
    /var/www/html/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/html/public/index.php:7 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/html/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#326 …9}

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, deflate, br"
from
"bingbot(at)microsoft.com"
host
"doktormayer.cz"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/116.0.1938.76 Safari/537.36"
x-forwarded-for
"52.167.144.237"
x-forwarded-host
"doktormayer.cz"
x-forwarded-port
"443"
x-forwarded-proto
"https"
x-forwarded-server
"b9ac22f98929"
x-php-ob-level
"1"
x-real-ip
"52.167.144.237"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Mon, 18 Nov 2024 02:18:14 GMT"
vary
"Accept"
x-debug-exception
"Variable%20%22imageit%22%20does%20not%20exist."
x-debug-exception-file
"%2Fvar%2Fwww%2Fhtml%2Fvar%2Fcache%2Ftemplates%2F199995fd46f3275be77b11de40fa1bf7.compiled:9"
x-debug-token
"fa0618"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session 1

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

1 Usages
Stateless check enabled
Usage
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:41
[
  [
    "file" => "/var/www/html/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 41
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/security-core/Security.php"
    "line" => 78
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/src/Service/Kiwi/Eshop/EshopUsersHandle.php"
    "line" => 80
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Security"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/src/Service/Kiwi/Page/PageFrontendHandle.php"
    "line" => 104
    "function" => "getCurrentUser"
    "class" => "App\Service\Kiwi\Eshop\EshopUsersHandle"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/src/Service/Kiwi/Page/PageFrontendHandle.php"
    "line" => 156
    "function" => "getPageData"
    "class" => "App\Service\Kiwi\Page\PageFrontendHandle"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/src/Controller/Kiwi/FrontPage/DefaultController.php"
    "line" => 101
    "function" => "getPageHtml"
    "class" => "App\Service\Kiwi\Page\PageFrontendHandle"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 181
    "function" => "pageAction"
    "class" => "App\Controller\Kiwi\FrontPage\DefaultController"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 76
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/http-kernel/Kernel.php"
    "line" => 197
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/public/index.php"
    "line" => 7
    "args" => [
      "/var/www/html/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"55f1b65605baf84467bfb12331d1a302"
DATABASE_URL
"mysql://app_doktormayer:gs_lcrp=EgZjaHJvbWUqD@master.dot.swarm:3306/app_doktormayer?serverVersion=8"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
TEMPLATES_COMPILATION_FOLDER
"templates/_compiled"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
""
CONTENT_TYPE
""
DOCUMENT_ROOT
"/var/www/html/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/"
HOSTNAME
"9d114f1a30cb"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br"
HTTP_FROM
"bingbot(at)microsoft.com"
HTTP_HOST
"doktormayer.cz"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/116.0.1938.76 Safari/537.36"
HTTP_X_FORWARDED_FOR
"52.167.144.237"
HTTP_X_FORWARDED_HOST
"doktormayer.cz"
HTTP_X_FORWARDED_PORT
"443"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_SERVER
"b9ac22f98929"
HTTP_X_REAL_IP
"52.167.144.237"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_INI_DIR
"/etc/php83"
PHP_SELF
"/index.php"
QUERY_STRING
"q=/cz/poliklinika-az-ricany&"
REDIRECT_STATUS
"200"
REMOTE_ADDR
"10.0.4.176"
REMOTE_PORT
"42126"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"http"
REQUEST_TIME
1731896294
REQUEST_TIME_FLOAT
1731896294.2022
REQUEST_URI
"/cz/poliklinika-az-ricany"
SCRIPT_FILENAME
"/var/www/html/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"10.0.4.160"
SERVER_NAME
"_"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.24.0"
SUPERVISOR_ENABLED
"1"
SUPERVISOR_GROUP_NAME
"php-fpm"
SUPERVISOR_PROCESS_NAME
"php-fpm"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL,MESSENGER_TRANSPORT_DSN,TEMPLATES_COMPILATION_FOLDER"
USER
"nobody"

Parent Request

Return to parent request (token = c93bec)

Key Value
_controller
"App\Controller\Kiwi\FrontPage\DefaultController::pageAction"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"kiwi_front_page_homepage_page_cz"
_route_params
[
  "lang" => "cz"
  "page_uri" => "poliklinika-az-ricany"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"7d0dad"
lang
"cz"
page_by_uid
null
page_uri
"poliklinika-az-ricany"