301 redirect from GET @page_vehicle_detail (298aaa)

Error 500 Internal Server Error

GET https://test.autanet.cz/detail/prodam-pneu-na-suv-wvaudisko-50466

Forwarded to ErrorController (882805)

HomepageController :: vehicleDetailSeo

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"App\Controller\HomepageController::vehicleDetailSeo"
_firewall_context
"security.firewall.map.context.main"
_links
Symfony\Component\WebLink\GenericLinkProvider {#2024
  -links: [
    2023 => Symfony\Component\WebLink\Link {#2023
      -href: "https://test.autanet.cz/api/docs.jsonld"
      -rel: [
        "http://www.w3.org/ns/hydra/core#apiDocumentation" => "http://www.w3.org/ns/hydra/core#apiDocumentation"
      ]
      -attributes: []
    }
  ]
}
_redirected
true
_remove_csp_headers
true
_route
"page_vehicle_detail_seo"
_route_params
[
  "seoSlug" => "prodam-pneu-na-suv-wvaudisko"
  "id" => "50466"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"7694a2"
id
"50466"
seoSlug
"prodam-pneu-na-suv-wvaudisko"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, deflate"
authorization
""
cookie
"sf_redirect=%7B%22token%22%3A%22298aaa%22%2C%22route%22%3A%22page_vehicle_detail%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CHomepageController%22%2C%22method%22%3A%22vehicleDetail%22%2C%22file%22%3A%22%5C%2Fwww%5C%2Fhosting%5C%2Fautanet.cz%5C%2Ftest%5C%2Fsrc%5C%2FController%5C%2FHomepageController.php%22%2C%22line%22%3A846%7D%2C%22status_code%22%3A301%2C%22status_text%22%3A%22Moved%20Permanently%22%7D"
from
"gptbot(at)openai.com"
host
"test.autanet.cz"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.3; +https://openai.com/gptbot)"
x-openai-host-hash
"605110534"
x-php-ob-level
"1"

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
"Tue, 16 Dec 2025 12:41:41 GMT"
link
"<https://test.autanet.cz/api/docs.jsonld>; rel="http://www.w3.org/ns/hydra/core#apiDocumentation""
vary
"Accept"
x-debug-exception
"Impossible%20to%20access%20an%20attribute%20%28%22name%22%29%20on%20a%20null%20variable."
x-debug-exception-file
"%2Fwww%2Fhosting%2Fautanet.cz%2Ftest%2Ftemplates%2Fhomepage%2FdetailVehicle.html.twig:206"
x-debug-token
"b1e042"
x-debug-token-link
"https://test.autanet.cz/_profiler/882805"
x-previous-debug-token
"882805"
x-robots-tag
"noindex"

Cookies

Request Cookies

Key Value
sf_redirect
"{"token":"298aaa","route":"page_vehicle_detail","method":"GET","controller":{"class":"App\\Controller\\HomepageController","method":"vehicleDetail","file":"\/www\/hosting\/autanet.cz\/test\/src\/Controller\/HomepageController.php","line":846},"status_code":301,"status_text":"Moved Permanently"}"

Response Cookies

No response cookies

Session 6

Session Metadata

Key Value
Created
"Tue, 16 Dec 25 13:41:41 +0100"
Last used
"Tue, 16 Dec 25 13:41:41 +0100"
Lifetime
0

Session Attributes

No session attributes

Session Usage

6 Usages
Stateless check enabled
Usage
Symfony\Bridge\Twig\AppVariable:147
[
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/twig-bridge/AppVariable.php"
    "line" => 147
    "function" => "getFlashBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/twig/twig/src/Extension/CoreExtension.php"
    "line" => 1635
    "function" => "getFlashes"
    "class" => "Symfony\Bridge\Twig\AppVariable"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/var/cache/dev/twig/58/58d79ad301e5e1411863cc298bde87d6.php"
    "line" => 316
    "function" => "twig_get_attribute"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/twig/twig/src/Template.php"
    "line" => 394
    "function" => "doDisplay"
    "class" => "__TwigTemplate_575f7be507dd64c27c13d5dd120f613b"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/twig/twig/src/Template.php"
    "line" => 367
    "function" => "displayWithErrorHandling"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/var/cache/dev/twig/82/82d8ea09fbe8284754d3da3d7d80a79e.php"
    "line" => 52
    "function" => "display"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/twig/twig/src/Template.php"
    "line" => 394
    "function" => "doDisplay"
    "class" => "__TwigTemplate_a890a2093426288cc9b6a51da8a3f4e2"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/twig/twig/src/Template.php"
    "line" => 367
    "function" => "displayWithErrorHandling"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/twig/twig/src/Template.php"
    "line" => 379
    "function" => "display"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/twig/twig/src/TemplateWrapper.php"
    "line" => 40
    "function" => "render"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/twig/twig/src/Environment.php"
    "line" => 280
    "function" => "render"
    "class" => "Twig\TemplateWrapper"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/framework-bundle/Controller/AbstractController.php"
    "line" => 242
    "function" => "render"
    "class" => "Twig\Environment"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/framework-bundle/Controller/AbstractController.php"
    "line" => 253
    "function" => "renderView"
    "class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/src/Controller/HomepageController.php"
    "line" => 839
    "function" => "render"
    "class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 163
    "function" => "vehicleDetailSeo"
    "class" => "App\Controller\HomepageController"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 74
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/Kernel.php"
    "line" => 184
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/public/index.php"
    "line" => 6
    "args" => [
      "/www/hosting/autanet.cz/test/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]
Symfony\Component\HttpKernel\DataCollector\RequestDataCollector:69
[
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/DataCollector/RequestDataCollector.php"
    "line" => 69
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/Profiler/Profiler.php"
    "line" => 156
    "function" => "collect"
    "class" => "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/EventListener/ProfilerListener.php"
    "line" => 108
    "function" => "collect"
    "class" => "Symfony\Component\HttpKernel\Profiler\Profiler"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 116
    "function" => "onKernelResponse"
    "class" => "Symfony\Component\HttpKernel\EventListener\ProfilerListener"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 206
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 127
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 196
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 184
    "function" => "filterResponse"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 74
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/EventListener/ErrorListener.php"
    "line" => 90
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 116
    "function" => "onKernelException"
    "class" => "Symfony\Component\HttpKernel\EventListener\ErrorListener"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 206
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 127
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 221
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 89
    "function" => "handleThrowable"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/Kernel.php"
    "line" => 184
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/public/index.php"
    "line" => 6
    "args" => [
      "/www/hosting/autanet.cz/test/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]
Symfony\Component\HttpKernel\DataCollector\RequestDataCollector:70
[
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/DataCollector/RequestDataCollector.php"
    "line" => 70
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/Profiler/Profiler.php"
    "line" => 156
    "function" => "collect"
    "class" => "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/EventListener/ProfilerListener.php"
    "line" => 108
    "function" => "collect"
    "class" => "Symfony\Component\HttpKernel\Profiler\Profiler"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 116
    "function" => "onKernelResponse"
    "class" => "Symfony\Component\HttpKernel\EventListener\ProfilerListener"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 206
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 127
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 196
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 184
    "function" => "filterResponse"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 74
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/EventListener/ErrorListener.php"
    "line" => 90
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 116
    "function" => "onKernelException"
    "class" => "Symfony\Component\HttpKernel\EventListener\ErrorListener"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 206
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 127
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 221
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 89
    "function" => "handleThrowable"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/Kernel.php"
    "line" => 184
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/public/index.php"
    "line" => 6
    "args" => [
      "/www/hosting/autanet.cz/test/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]
Symfony\Component\HttpKernel\DataCollector\RequestDataCollector:71
[
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/DataCollector/RequestDataCollector.php"
    "line" => 71
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/Profiler/Profiler.php"
    "line" => 156
    "function" => "collect"
    "class" => "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/EventListener/ProfilerListener.php"
    "line" => 108
    "function" => "collect"
    "class" => "Symfony\Component\HttpKernel\Profiler\Profiler"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 116
    "function" => "onKernelResponse"
    "class" => "Symfony\Component\HttpKernel\EventListener\ProfilerListener"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 206
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 127
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 196
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 184
    "function" => "filterResponse"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 74
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/EventListener/ErrorListener.php"
    "line" => 90
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 116
    "function" => "onKernelException"
    "class" => "Symfony\Component\HttpKernel\EventListener\ErrorListener"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 206
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 127
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 221
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 89
    "function" => "handleThrowable"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/Kernel.php"
    "line" => 184
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/public/index.php"
    "line" => 6
    "args" => [
      "/www/hosting/autanet.cz/test/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]
Symfony\Component\HttpKernel\DataCollector\RequestDataCollector:72
[
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/DataCollector/RequestDataCollector.php"
    "line" => 72
    "function" => "all"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/Profiler/Profiler.php"
    "line" => 156
    "function" => "collect"
    "class" => "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/EventListener/ProfilerListener.php"
    "line" => 108
    "function" => "collect"
    "class" => "Symfony\Component\HttpKernel\Profiler\Profiler"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 116
    "function" => "onKernelResponse"
    "class" => "Symfony\Component\HttpKernel\EventListener\ProfilerListener"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 206
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 127
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 196
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 184
    "function" => "filterResponse"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 74
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/EventListener/ErrorListener.php"
    "line" => 90
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 116
    "function" => "onKernelException"
    "class" => "Symfony\Component\HttpKernel\EventListener\ErrorListener"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 206
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 127
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 221
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 89
    "function" => "handleThrowable"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/Kernel.php"
    "line" => 184
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/public/index.php"
    "line" => 6
    "args" => [
      "/www/hosting/autanet.cz/test/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]
Symfony\Component\HttpKernel\DataCollector\RequestDataCollector:73
[
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/DataCollector/RequestDataCollector.php"
    "line" => 73
    "function" => "getFlashBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/Profiler/Profiler.php"
    "line" => 156
    "function" => "collect"
    "class" => "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/EventListener/ProfilerListener.php"
    "line" => 108
    "function" => "collect"
    "class" => "Symfony\Component\HttpKernel\Profiler\Profiler"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 116
    "function" => "onKernelResponse"
    "class" => "Symfony\Component\HttpKernel\EventListener\ProfilerListener"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 206
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 127
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 196
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 184
    "function" => "filterResponse"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 74
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/EventListener/ErrorListener.php"
    "line" => 90
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 116
    "function" => "onKernelException"
    "class" => "Symfony\Component\HttpKernel\EventListener\ErrorListener"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 206
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 127
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 221
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 89
    "function" => "handleThrowable"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/http-kernel/Kernel.php"
    "line" => 184
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/www/hosting/autanet.cz/test/public/index.php"
    "line" => 6
    "args" => [
      "/www/hosting/autanet.cz/test/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
"60e729b9a0755a793eecebd0a9ecb4a2"
CORS_ALLOW_ORIGIN
"^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$"
DATABASE_URL
"mysql://autanetest.1:lZIC!28Pn6A3j;F4W@127.0.0.1:3306/autanetest_1"
GOOGLE_RECAPTCHA_SECRET
"6Ldill4mAAAAAD4AjVb3-6KDywAb7oHDqJ9xK8F-"
GOOGLE_RECAPTCHA_SITE_KEY
"6Ldill4mAAAAAOmEn2DIAD5N91WQjH_1ODsvg5mx"
MAILER_DSN
"smtp://poptavka@autanet.cz:Po12Tsx158RT@smtp.cesky-hosting.cz:465"
MESSENGER_TRANSPORT_DSN
"beanstalkd://localhost:11300?tube_name=autanet_test&timeout=5&ttr=160"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/www/hosting/autanet.cz/test/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/www/hosting/autanet.cz/test/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
H2PUSH
"off"
H2_PUSH
"off"
H2_PUSHED
""
H2_PUSHED_ON
""
H2_STREAM_ID
"15945"
H2_STREAM_TAG
"788-4998-15945"
HOME
"/www/hosting/autanet.cz"
HTTP2
"on"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, deflate"
HTTP_AUTHORIZATION
""
HTTP_COOKIE
"sf_redirect=%7B%22token%22%3A%22298aaa%22%2C%22route%22%3A%22page_vehicle_detail%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CHomepageController%22%2C%22method%22%3A%22vehicleDetail%22%2C%22file%22%3A%22%5C%2Fwww%5C%2Fhosting%5C%2Fautanet.cz%5C%2Ftest%5C%2Fsrc%5C%2FController%5C%2FHomepageController.php%22%2C%22line%22%3A846%7D%2C%22status_code%22%3A301%2C%22status_text%22%3A%22Moved%20Permanently%22%7D"
HTTP_FROM
"gptbot(at)openai.com"
HTTP_HOST
"test.autanet.cz"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.3; +https://openai.com/gptbot)"
HTTP_X_OPENAI_HOST_HASH
"605110534"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_H2PUSH
"off"
REDIRECT_H2_PUSH
"off"
REDIRECT_H2_PUSHED
""
REDIRECT_H2_PUSHED_ON
""
REDIRECT_H2_STREAM_ID
"15945"
REDIRECT_H2_STREAM_TAG
"788-4998-15945"
REDIRECT_HTTP2
"on"
REDIRECT_HTTPS
"on"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_SCRIPT_URI
"https://test.autanet.cz/detail/prodam-pneu-na-suv-wvaudisko-50466"
REDIRECT_SCRIPT_URL
"/detail/prodam-pneu-na-suv-wvaudisko-50466"
REDIRECT_SSL_TLS_SNI
"test.autanet.cz"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"aUFThCxgaHOLUzlmvJtVWAAADg4"
REDIRECT_URL
"/detail/prodam-pneu-na-suv-wvaudisko-50466"
REMOTE_ADDR
"74.7.242.5"
REMOTE_PORT
"55454"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1765888900
REQUEST_TIME_FLOAT
1765888900.9192
REQUEST_URI
"/detail/prodam-pneu-na-suv-wvaudisko-50466"
SCRIPT_FILENAME
"/www/hosting/autanet.cz/test/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"https://test.autanet.cz/detail/prodam-pneu-na-suv-wvaudisko-50466"
SCRIPT_URL
"/detail/prodam-pneu-na-suv-wvaudisko-50466"
SERVER_ADDR
"46.234.101.109"
SERVER_ADMIN
"postmaster@autanet.cz"
SERVER_NAME
"test.autanet.cz"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/2.0"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SSL_CIPHER
"TLS_AES_256_GCM_SHA384"
SSL_CIPHER_ALGKEYSIZE
"256"
SSL_CIPHER_EXPORT
"false"
SSL_CIPHER_USEKEYSIZE
"256"
SSL_CLIENT_VERIFY
"NONE"
SSL_COMPRESS_METHOD
"NULL"
SSL_PROTOCOL
"TLSv1.3"
SSL_SECURE_RENEG
"true"
SSL_SERVER_A_KEY
"rsaEncryption"
SSL_SERVER_A_SIG
"sha256WithRSAEncryption"
SSL_SERVER_I_DN
"CN=R13,O=Let's Encrypt,C=US"
SSL_SERVER_I_DN_C
"US"
SSL_SERVER_I_DN_CN
"R13"
SSL_SERVER_I_DN_O
"Let's Encrypt"
SSL_SERVER_M_SERIAL
"054082D2422B3D29600E909D0B732C97DE14"
SSL_SERVER_M_VERSION
"3"
SSL_SERVER_SAN_DNS_0
"autanet.cz"
SSL_SERVER_SAN_DNS_1
"test.autanet.cz"
SSL_SERVER_SAN_DNS_2
"www.autanet.cz"
SSL_SERVER_S_DN
"CN=test.autanet.cz"
SSL_SERVER_S_DN_CN
"test.autanet.cz"
SSL_SERVER_V_END
"Mar 14 13:46:50 2026 GMT"
SSL_SERVER_V_START
"Dec 14 13:46:51 2025 GMT"
SSL_SESSION_ID
"e710b9a9278db36fb193aab1230ad10c8da91b4a2163b165ab51d25b00b26623"
SSL_SESSION_RESUMED
"Initial"
SSL_TLS_SNI
"test.autanet.cz"
SSL_VERSION_INTERFACE
"mod_ssl/2.4.62"
SSL_VERSION_LIBRARY
"OpenSSL/1.1.1w"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL,CORS_ALLOW_ORIGIN,MESSENGER_TRANSPORT_DSN,MAILER_DSN,GOOGLE_RECAPTCHA_SITE_KEY,GOOGLE_RECAPTCHA_SECRET"
UNIQUE_ID
"aUFThCxgaHOLUzlmvJtVWAAADg4"
USER
"www-data"
magick_temporary_path
"/www/hosting/autanet.cz/tmp"
magick_tmp_path
"/www/hosting/autanet.cz/tmp"
magick_tmpdir
"/www/hosting/autanet.cz/tmp"
proxy-nokeepalive
"1"
sys_temp_dir
"/www/hosting/autanet.cz/tmp"
sys_tmp_dir
"/www/hosting/autanet.cz/tmp"

Sub Requests 1

ErrorController (token = 882805)

Key Value
_controller
"error_controller"
_links
Symfony\Component\WebLink\GenericLinkProvider {#1870
  -links: [
    1869 => Symfony\Component\WebLink\Link {#1869
      -href: "https://test.autanet.cz/api/docs.jsonld"
      -rel: [
        "http://www.w3.org/ns/hydra/core#apiDocumentation" => "http://www.w3.org/ns/hydra/core#apiDocumentation"
      ]
      -attributes: []
    }
  ]
}
_stopwatch_token
"39226a"
exception
Twig\Error\RuntimeError {#1529
  #message: "Impossible to access an attribute ("name") on a null variable."
  #code: 0
  #file: "/www/hosting/autanet.cz/test/templates/homepage/detailVehicle.html.twig"
  #line: 206
  -lineno: 206
  -name: "homepage/detailVehicle.html.twig"
  -rawMessage: "Impossible to access an attribute ("name") on a null variable."
  -sourcePath: "/www/hosting/autanet.cz/test/templates/homepage/detailVehicle.html.twig"
  -sourceCode: """
    {% extends 'base.html.twig' %}\n
    \n
    {% block title %}{{ vehicle_seo_title(vehicle) }}{% endblock %}\n
    \n
    {% block desc %}{{ vehicle_seo_description(vehicle) }}{% endblock %}\n
    \n
            {% block javascripts %}\n
                {{ encore_entry_script_tags('app') }}\n
                <script src="https://www.google.com/recaptcha/api.js?render={{ google_recaptcha_site_key }}"></script>\n
            {% endblock %}\n
    \n
        {% block mobileBranding %} {% endblock %}\n
    {% block body %}\n
    \n
        <br>\n
        <section class="container">\n
            <nav class="container__back">\n
                {% if vehicle.kind %}\n
                <a class="container__back-link" href="{{ app.request.headers.get('referer') }}">Zpět na seznam inzerátů</a>\n
                {% endif %}\n
            </nav>\n
            <section class="gallery js-gallery">\n
                {% for img in vehicle.vehicleImages %}\n
    \n
                  {% if loop.index < 2 %}\n
                <a class="gallery__item gallery__item--large" href="{{ asset(vehicle_image_url(img)) }}" title="{{ vehicle_image_alt(img) }}">\n
                    <img  src="{{ asset(vehicle_image_url(img)) }}"\n
                            alt="{{ vehicle_image_alt(img) }}"\n
                            {{ stimulus_controller('symfony/ux-lazy-image/lazy-image', {\n
                                src: asset(vehicle_image_url(img))\n
                            }) }} width="400" >\n
                    {#\n
                    <div class="gallery__favorite">\n
                        <i class="icon icon-heart"></i>\n
                    </div>\n
                    #}\n
                </a>\n
                 {% else  %}\n
                <a  {% if loop.index > 5 %}  style="display: none" {% endif %} class="gallery__item   {% if loop.index == 5 %}  gallery__item--hidden-sm  {% endif %} " href="{{ asset(vehicle_image_url(img)) }}" title="{{ vehicle_image_alt(img) }}">\n
                    <img src="{{ asset(vehicle_image_url(img)) }}"\n
                            alt="{{ vehicle_image_alt(img) }}"\n
                            {{ stimulus_controller('symfony/ux-lazy-image/lazy-image', {\n
                                src: asset(vehicle_image_url(img))\n
                            }) }} width="200" > </a>\n
                {% endif  %}\n
    \n
                {% endfor %}\n
                {% if vehicle.vehicleImages|length > 5 %}\n
                <div class="gallery__show">\n
                    <i class="icon icon-camera"></i>\n
                    +{{ vehicle.vehicleImages|length - 5 }}\n
                </div>\n
                {% endif  %}\n
            </section>\n
        </section>\n
    \n
        <div id="blueimp-gallery" class="blueimp-gallery blueimp-gallery-controls" aria-label="image gallery"\n
             aria-modal="true" role="dialog">\n
            <div class="slides" aria-live="polite"></div>\n
            <a class="prev" aria-controls="blueimp-gallery" aria-label="previous slide" aria-keyshortcuts="ArrowLeft"></a>\n
            <a class="next" aria-controls="blueimp-gallery" aria-label="next slide" aria-keyshortcuts="ArrowRight"></a>\n
            <a class="close" aria-controls="blueimp-gallery" aria-label="close" aria-keyshortcuts="Escape"></a>\n
    \n
        </div>\n
    \n
    \n
    \n
    \n
        <section class="grid grid--gap40 grid--row-gap20 grid--padding-top0">\n
            <div>\n
                <section class="detail">\n
                    <h1 class="margin-bottom-0">{{ vehicle_seo_h1(vehicle) }}</h1>\n
                    <div class="detail__price">\n
                        {{  vehicle.price ? vehicle.price|number_format(0, null, ' ')~' Kč' : 'dohodou' }}\n
                        {% if vehicle.vat %}\n
                        <div class="detail__price-label">Odpočet DPH možný</div>\n
                        {% endif %}\n
                    </div>\n
                    <div class="detail__info">\n
                        <div class="detail__info-item">\n
                            Rok výroby\n
                            <strong class="detail__info-strong">\n
                                <i class="icon icon-calendar"></i>\n
                                {{ vehicle.madeDate ? vehicle.madeDate|slice(0,4) : 'neuvedeno' }}\n
                            </strong>\n
                        </div>\n
                        <div class="detail__info-item">\n
                            Tachometr\n
                            <strong class="detail__info-strong">\n
                                <i class="icon icon-tachometer"></i>\n
                                {{ vehicle.mileage ? vehicle.mileage|number_format(null, ' ', ' ') ~' '~vehicle.mileageUnit  : 'neuvedeno' }}\n
                            </strong>\n
                        </div>\n
                        <div class="detail__info-item">\n
                            Palivo\n
                            <strong class="detail__info-strong">\n
                                <i class="icon icon-gas"></i>\n
                                {{ vehicle.fuel ? vehicle.fuel.name : 'neuvedeno' }}\n
                            </strong>\n
                        </div>\n
                        <div class="detail__info-item">\n
                            Převodovka\n
                            <strong class="detail__info-strong">\n
                                <i class="icon icon-settings"></i>\n
                                {{  vehicle.gearbox  ?  vehicle.gearbox|trans  : 'neuvedeno' }}\n
                            </strong>\n
                        </div>\n
                        <div class="detail__info-item">\n
                            Výkon\n
                            <strong class="detail__info-strong">\n
                                <i class="icon icon-power"></i>\n
                                {{ vehicle.enginePower ? vehicle.enginePower ~' kW' : 'neuvedeno' }}\n
                            </strong>\n
                        </div>\n
                        <div class="detail__info-item">\n
                            Karoserie\n
                            <strong class="detail__info-strong">\n
                                <i class="icon icon-car"></i>\n
                                {{ vehicle.body ? vehicle.body.name : 'neuvedeno' }}\n
                            </strong>\n
                        </div>\n
                    </div>\n
                    <h2>Popis</h2>\n
    \n
                    <div class="detail__more js-detail__more">\n
                        <div class="detail__more-content js-detail__more-content">\n
                            <p> {{ vehicle.note }} </p>\n
                        </div>\n
                        <div class="detail__more-control">\n
                            <button class="button detail__more-toggler js-detail__more-toggler" type="button">\n
                                <span class="detail__more-toggler-show">Zobrazit více</span>\n
                                <span class="detail__more-toggler-hide">Zobrazit méně</span>\n
                            </button>\n
                        </div>\n
                    </div>\n
    \n
                    <h2>Informace o vozu</h2>\n
    \n
                    <div class="detail__columns detail__hidden--mobile">\n
                        <table>\n
                            <tbody>\n
                            <tr>\n
                                <th>Prodejní cena</th>\n
                                <td> {{ vehicle.price ? vehicle.price|number_format(0, null, ' ')~' Kč' : 'dohodou' }}</td>\n
                            </tr>\n
                            {% if  vehicle.vat %}\n
                            <tr>\n
                                <th> Cena bez DPH</th>\n
                                <td>\n
                                    {% if  vehicle.price %}\n
                                        {{ (vehicle.price / 1.21)|number_format(0, null, ' ')  }}  Kč\n
                                    {% else %}\n
                                        neuvedeno\n
                                    {% endif  %} </td>\n
                            </tr>\n
                            {% endif %}\n
                            <tr>\n
                                <th>Odpočet DPH  </th>\n
                                <td>{{ vehicle.vat ? 'ano' : 'ne' }} </td>\n
                            </tr>\n
                            <tr>\n
                                <th> VIN</th>\n
                                <td> {{ vehicle.vin ? vehicle.vin : 'neuvedeno' }}</td>\n
                            </tr>\n
                            {% if vehicle.dealer.checkVin %}\n
                                <tr>\n
                                    <th>Historie</th>\n
                                    <td>\n
                                        <a target="_blank"\n
                                           href="https://cz.cebia.com/?utm_source=affilbox&utm_medium=affiliate&utm_campaign=Autanet_2013&a_box=j49grgww&vin={{ vehicle.vin }}"\n
                                        >Zobrazit historii vozu</a>\n
                                    </td>\n
                                </tr>\n
                            {% endif %}\n
                            <tr>\n
                                <th>Tachometr</th>\n
                                <td>  {{ vehicle.mileage ? vehicle.mileage~' '~vehicle.mileageUnit : 'neuvedeno' }}  </td>\n
                            </tr>\n
                            <tr>\n
                                <th>Druh paliva</th>\n
                                <td>          {{ vehicle.fuel ? vehicle.fuel.name : 'neuvedeno' }}</td>\n
                            </tr>\n
                            <tr>\n
                                <th>Objem</th>\n
                                <td>\n
                                    {{ vehicle.engineVolume ? vehicle.engineVolume~' ccm'  : 'neuvedeno' }} </td>\n
                            </tr>\n
                            </tbody>\n
                        </table>\n
                        <table>\n
                            <tbody>\n
                            <tr>\n
                                <th>Karoserie</th>\n
                                <td>  {{ vehicle.body  ? vehicle.body.name   : 'neuvedeno' }}</td>\n
                            </tr>\n
                            <tr>\n
                                <th>Počet dveří</th>\n
                                <td> {{ vehicle.doors  ? vehicle.doors  : 'neuvedeno' }}</td>\n
                            </tr>\n
                            <tr>\n
                                <th>Počet míst</th>\n
                                <td>   {{ vehicle.places  ? vehicle.places  : 'neuvedeno' }} </td>\n
                            </tr>\n
                            <tr>\n
                                <th>Barva</th>\n
                                <td>{{  vehicle.color.name }}   </td>\n
                            </tr>\n
                            <tr>\n
                                <th>STK {% if vehicle.stkTo != 1 %}{{ vehicle.stkTo }}{% endif %}</th>\n
                                <td>{% if vehicle.stkTo == 1 %}neuvedeno{% else %}{{  vehicle.stkTo ? vehicle.stkTo|slice(4,6)~'/'~vehicle.stkTo|slice(0,4)  : 'neuvedeno' }}{% endif %}  </td>\n
                            </tr>\n
                            <tr>\n
                                <th>Země původu</th>\n
                                <td>{{ vehicle.state ? vehicle.state : 'neuvedeno' }}  </td>\n
                            </tr>\n
                            <tr>\n
                                <th>První majitel</th>\n
                                <td>{{ vehicle.firstOwner ? 'ano' : 'ne' }}</td>\n
                            </tr>\n
                            </tbody>\n
                        </table>\n
                    </div>\n
                    <div class="detail__hidden--desktop">\n
                        <table>\n
                            <tbody>\n
                            <tr>\n
                                <th>Prodejní cena</th>\n
                                <td> {{ vehicle.price ? vehicle.price|number_format(0, null, ' ')~' Kč' : 'neuvedeno' }}</td>\n
                            </tr>\n
                            {% if  vehicle.vat %}\n
                            <tr>\n
                                <th> Cena bez DPH</th>\n
                                <td>\n
                                    {% if  vehicle.price %}\n
                                        {{ (vehicle.price / 1.21)|number_format(0, null, ' ')  }}  Kč\n
                                    {% else %}\n
                                        neuvedeno\n
                                    {% endif  %} </td>\n
                            </tr>\n
                            {% endif %}\n
                            <tr>\n
                                <th>Odpočet DPH</th>\n
                                <td>{{ vehicle.vat ? 'ano' : 'ne' }} </td>\n
                            </tr>\n
                            <tr>\n
                                <th> VIN</th>\n
                                <td> {{ vehicle.vin ? vehicle.vin : 'neuvedeno' }}</td>\n
                            </tr>\n
                            {% if vehicle.dealer.checkVin %}\n
                                <tr>\n
                                    <th>Historie</th>\n
                                    <td>\n
                                        <a target="_blank"\n
                                           href="https://cz.cebia.com/?utm_source=affilbox&utm_medium=affiliate&utm_campaign=Autanet_2013&a_box=j49grgww&vin={{ vehicle.vin }}"\n
                                        >Zobrazit historii vozu</a>\n
                                    </td>\n
                                </tr>\n
                            {% endif %}\n
                            <tr>\n
                                <th>Tachometr</th>\n
                                <td>  {{ vehicle.mileage ? vehicle.mileage~' '~vehicle.mileageUnit : 'neuvedeno' }}  </td>\n
                            </tr>\n
                            <tr>\n
                                <th>Druh paliva</th>\n
                                <td>          {{ vehicle.fuel ? vehicle.fuel.name : 'neuvedeno' }}</td>\n
                            </tr>\n
                            <tr>\n
                                <th>Objem</th>\n
                                <td>\n
                                    {{ vehicle.engineVolume ? vehicle.engineVolume~' ccm'  : 'neuvedeno' }} </td>\n
                            </tr>\n
    \n
                            <tr>\n
                                <th>Karoserie</th>\n
                                <td>  {{ vehicle.body  ? vehicle.body.name   : 'neuvedeno' }}</td>\n
                            </tr>\n
                            <tr>\n
                                <th>Počet dveří</th>\n
                                <td> {{ vehicle.doors  ? vehicle.doors  : 'neuvedeno' }}</td>\n
                            </tr>\n
                            <tr>\n
                                <th>Počet míst</th>\n
                                <td>   {{ vehicle.places  ? vehicle.places  : 'neuvedeno' }} </td>\n
                            </tr>\n
                            <tr>\n
                                <th>Barva</th>\n
                                <td>{{  vehicle.color.name }}   </td>\n
                            </tr>\n
                            <tr>\n
                                <th>STK {% if vehicle.stkTo != 1 %}{{ vehicle.stkTo }}{% endif %}</th>\n
                                <td>{% if vehicle.stkTo == 1 %}neuvedeno{% else %}{{  vehicle.stkTo ? vehicle.stkTo|slice(4,6)~'/'~vehicle.stkTo|slice(0,4)  : 'neuvedeno' }}{% endif %}  </td>\n
                            </tr>\n
                            <tr>\n
                                <th>Země původu</th>\n
                                <td>{{ vehicle.state ? vehicle.state : 'neuvedeno' }}  </td>\n
                            </tr>\n
                            <tr>\n
                                <th>První majitel</th>\n
                                <td>{{ vehicle.firstOwner ? 'ano' : 'ne' }}</td>\n
                            </tr>\n
                            </tbody>\n
                        </table>\n
                    </div>\n
    \n
    \n
    \n
    \n
                    <h2>Výbava vozu</h2>\n
    \n
                    <div class="detail__more js-detail__more">\n
                        <div class="detail__more-content js-detail__more-content">\n
                            <div class="detail__columns">\n
                                <ul>\n
                                {% for e in vehicle.equipments %}\n
                                    <li>{{ e.name }}</li>\n
                                    {% if (vehicle.equipments|length / 2)|round == loop.index  %}\n
                                        </ul>  <ul>\n
                                    {% endif %}\n
                                {% endfor  %}\n
                               </ul>\n
                            </div>\n
                        </div>\n
                        <div class="detail__more-control">\n
                            <button class="button detail__more-toggler js-detail__more-toggler" type="button">\n
                                <span class="detail__more-toggler-show">Zobrazit více</span>\n
                                <span class="detail__more-toggler-hide">Zobrazit méně</span>\n
                            </button>\n
                        </div>\n
                    </div>\n
    \n
                </section>\n
                \n
                <!-- Mobile contact section -->\n
                <div class="dealer dealer--mobile" style="display: none;">\n
                    <h2>Kontakt na prodejce</h2>\n
                    {% if not vehicle.dealer.basicAdvertising %}\n
                    <figure class="dealer__logo">\n
                        {% if vehicle.dealer.logo %}\n
                            <img\n
                                    src="{{ asset('img-dealer/')~vehicle.dealer.logo    }}"\n
                                    {{ stimulus_controller('symfony/ux-lazy-image/lazy-image', {\n
                                        src: asset('img-dealer/')~vehicle.dealer.logo\n
                                    }) }}\n
                                    width="170"\n
                            >\n
                        {% endif  %}\n
                    </figure>\n
                    {% endif %}\n
                    <h3>{{ vehicle.dealer.name }}</h3>\n
                    <p>{{ vehicle.dealer.street }}, {{ vehicle.dealer.city }}<br>\n
                        {{ vehicle.dealer.district.name }}</p>\n
                    <a class="dealer__link" href="https://www.google.com/maps/search/?api=1&query={{ vehicle.dealer.lat }},{{ vehicle.dealer.lng }}" target="_blank">\n
                        <i class="icon icon-map"></i>\n
                        Zobrazit na mapě</a>\n
                    <div class="dealer__opening-hours">\n
                        <h4 class="detail__opening-hours-heading">\n
                            <i class="icon icon-hours"></i>\n
                            Provozní doba\n
                        </h4>\n
                        <div class="dealer__opening">\n
                            {% for t in  openTime %}\n
                                <div>{{ t.day.value }}</div>\n
                                <div>{{ t.description }}</div>\n
                            {% endfor %}\n
                        </div>\n
                    </div>\n
                    <a class="dealer__button dealer__button--green js-modal-show" href="#modal--call">\n
                        <i class="icon icon-phone"></i>\n
                        Zavolat prodejci</a>\n
                    <a class="dealer__button js-modal-show" href="#modal--write">\n
                        <i class="icon icon-email"></i>\n
                        Napsat prodejci\n
                    </a>\n
                </div>\n
                \n
                {% if vehicleOthers|length >  0 %}\n
                <h4 class="detail__dealer-vehicles-heading">Další inzeráty prodejce</h4>\n
    \n
                {% for v in vehicleOthers %}\n
                    {% include 'vehicle/_vehicle.html.twig' with { vehicle: v } %}\n
    \n
                    {% if loop.index == 1 %}\n
                        <div id="banner-mobile-container" class="banner-mobile"></div>\n
                    {%  endif %}\n
    \n
                    {% if loop.index == 2 %}\n
                        <div id="adform_squarem"></div>\n
                    {%  endif %}\n
    \n
                    {% if loop.index == 8 %}\n
                        <div id="adform_squarem2"></div>\n
                    {%  endif %}\n
    \n
                {% endfor  %}\n
    \n
                {%  endif  %}\n
    \n
                {% if not vehicle.dealer.basicAdvertising %}\n
                <footer class="grid__buttons">\n
                    <a class="button" href="{{ path('page_dealer_vehicle', { url: vehicle.dealer.url }) }}">\n
                        Zobrazit všechny inzeráty prodejce\n
                        <i class="icon icon-chevron-right"></i>\n
                    </a>\n
                </footer>\n
                {% endif %}\n
    \n
                <hr>\n
            </div>\n
            <div>\n
                <div class="grid__buttons">\n
                    {#\n
                    <a class="button" href="">\n
                        Přidat k oblíbeným\n
                        <i class="icon icon-heart"></i>\n
                    </a>\n
                    #}\n
    \n
                    <a class="button js-modal-show" href="#modal--share">\n
                        Sdílet inzerát\n
                        <i class="icon icon-forward"></i>\n
                    </a>\n
    \n
                </div>\n
    \n
                <div class="dealer">\n
                    <h2>Kontakt na prodejce</h2>\n
                    {% if not vehicle.dealer.basicAdvertising %}\n
                    <figure class="dealer__logo">\n
                        {% if vehicle.dealer.logo %}\n
                            <img\n
                                    src="{{ asset('img-dealer/')~vehicle.dealer.logo    }}"\n
                                    {{ stimulus_controller('symfony/ux-lazy-image/lazy-image', {\n
                                        src: asset('img-dealer/')~vehicle.dealer.logo\n
                                    }) }}\n
                                    width="170"\n
                            >\n
                        {% endif  %}\n
                    </figure>\n
                    {% endif %}\n
                    <h3>{{ vehicle.dealer.name }}</h3>\n
                    <p>{{ vehicle.dealer.street }}, {{ vehicle.dealer.city }}<br>\n
                        {{ vehicle.dealer.district.name }}</p>\n
                    <a class="dealer__link" href="https://www.google.com/maps/search/?api=1&query={{ vehicle.dealer.lat }},{{ vehicle.dealer.lng }}" target="_blank">\n
                        <i class="icon icon-map"></i>\n
                        Zobrazit na mapě</a>\n
                    <div class="dealer__opening-hours">\n
                        <h4 class="detail__opening-hours-heading">\n
                            <i class="icon icon-hours"></i>\n
                            Provozní doba\n
                        </h4>\n
                        <div class="dealer__opening">\n
                            {% for t in  openTime %}\n
                                <div>{{ t.day.value }}</div>\n
                                <div>{{ t.description }}</div>\n
                            {% endfor %}\n
                        </div>\n
                    </div>\n
                    <a class="dealer__button dealer__button--green js-modal-show" href="#modal--call">\n
                        <i class="icon icon-phone"></i>\n
                        Zavolat prodejci</a>\n
                    <a class="dealer__button js-modal-show" href="#modal--write">\n
                        <i class="icon icon-email"></i>\n
                        Napsat prodejci\n
                    </a>\n
                </div>\n
    \n
                <div id="banner-container" class="banner"></div>\n
                <div id="adform_halfpage"></div>\n
    \n
            </div>\n
    \n
        </section>\n
    \n
    \n
        <div class="mobile-buttons">\n
            <a class="mobile-buttons__item mobile-buttons__item--green js-modal-show" href="#modal--call">\n
                <i class="icon icon-phone"></i>\n
                Zavolat</a>\n
            </a>\n
            <a class="mobile-buttons__item js-modal-show" href="#modal--write">\n
                <i class="icon icon-email"></i>\n
                Napsat\n
            </a>\n
        </div>\n
    \n
    \n
    \n
        <div class="modal" id="modal--share">\n
            <div class="modal__overlay js-modal-close"></div>\n
            <article class="modal__body">\n
                <button class="modal__close js-modal-close" type="button"></button>\n
                <div class="modal__header">\n
                    <h2>Sdílet inzerci</h2>\n
                </div>\n
    \n
    \n
                <div class="share">\n
                    <a target="_blank"  class="share__item" href="https://www.facebook.com/sharer/sharer.php?u={{ app.request.uri }}">\n
                        <img src="{{ asset('img/share__icon--facebook.svg') }}" alt="">\n
                        Facebook\n
                    </a>\n
    \n
                    <a target="_blank"  class="share__item" href="">\n
                        <img src="{{ asset('img/share__icon--messenger.svg') }}" alt="fb-messenger://share/?link={{ app.request.uri }}">\n
                        Messenger\n
                    </a>\n
    \n
    \n
                    <a target="_blank"  class="share__item" href="whatsapp://send?text={{ app.request.uri }}">\n
                        <img src="{{ asset('img/share__icon--whatsapp.svg') }}" alt="">\n
                        Whatsapp\n
                    </a>\n
                    <a target="_blank" class="share__item" href="https://twitter.com/intent/tweet?url={{ app.request.uri }}&text={{ vehicle_clean_name(vehicle) }} - {{  vehicle.madeDate|slice(0,4) }}, {{  vehicle.mileage }} {{  vehicle.mileageUnit }}">\n
                        <img src="{{ asset('img/share__icon--twitter.svg') }}" alt="">\n
                        Twitter\n
                    </a>\n
                    <a target="_blank"  class="share__item"\n
                       href="mailto:?subject={{ vehicle_clean_name(vehicle) }} - {{ vehicle.madeDate|slice(0,4) }}, {{ vehicle.mileage }} {{ vehicle.mileageUnit }}&amp;body=Podívej se na {{ app.request.uri }}">\n
                        <img src="{{ asset('img/share__icon--envelope.svg') }}" alt="">\n
                        E-mail\n
                    </a>\n
    \n
    \n
                </div>\n
                <footer class="modal__footer">\n
                    <button class="modal__link js-modal-close" type="button">zavřít okno</button>\n
                </footer>\n
            </article>\n
        </div>\n
    \n
        <div class="modal" id="modal--call">\n
            <div class="modal__overlay js-modal-close"></div>\n
            <article class="modal__body">\n
                <button class="modal__close js-modal-close" type="button"></button>\n
                <div class="modal__header">\n
                    <h2>Zavolat prodejci</h2>\n
                </div>\n
                <div class="share">\n
                     {% for p in  vehicle.dealer.dealerPhones %}\n
                    <a class="share__item" href="tel:{{ p.name }}">\n
                        <img src="{{ asset('img/share__icon--phone.svg') }}" alt="telefon">\n
                         {{ p.name }}\n
                    </a>\n
                    {% endfor %}\n
                </div>\n
                <footer class="modal__footer">\n
                    <button class="modal__link js-modal-close" type="button">zavřít okno</button>\n
                </footer>\n
            </article>\n
        </div>\n
    \n
        <div class="modal" id="modal--write">\n
            <div class="modal__overlay js-modal-close"></div>\n
            <article class="modal__body modal__body--large">\n
                <button class="modal__close js-modal-close" type="button"></button>\n
                <div class="modal__header">\n
                    <h2>Napsat prodejci</h2>\n
                </div>\n
                <section>\n
                        <article>\n
                            <form class="form">\n
    \n
    \n
                                <input type="hidden" value="{{ vehicle.id }}" name="vehicleId">\n
    \n
                                <div class="form__group form__group--strong">\n
                                    <input placeholder="Vaše jméno" name="name" required>\n
                                </div>\n
                                <div class="form__group form__group--strong">\n
                                    <input type="email" placeholder="Váš e-mail" name="email" required>\n
                                </div>\n
                                <div class="form__group form__group--strong">\n
                                    <input type="tel" placeholder="Vaše telefonní číslo"  name="phone" required>\n
                                </div>\n
                                <div class="form__group form__group--strong">\n
                    <textarea class="textarea_changer_target" placeholder="Vaše zpráva" rows="5"  name="message"\n
                              data-variants='{\n
                              "1":"Dobrý den, mám zájem o vaši nabídku „{{ vehicle_clean_name(vehicle) }} - Rok {{ vehicle.madeDate|slice(0,4) }}, {{ vehicle.mileage }} {{ vehicle.mileageUnit }}". Můžete mi prosím zavolat? Děkuji",\n
                              "2":"Dobrý den, je vozidlo „{{ vehicle_clean_name(vehicle) }} - Rok {{ vehicle.madeDate|slice(0,4) }}, {{ vehicle.mileage }} {{ vehicle.mileageUnit }}" stále k dispozici? Kontaktujte mě prosím. Děkuji.",\n
                              "3":"Dobrý den, mám vážný zájem o vozidlo „{{ vehicle_clean_name(vehicle) }} - Rok {{ vehicle.madeDate|slice(0,4) }}, {{ vehicle.mileage }} {{ vehicle.mileageUnit }}". Je možné jej zarezervovat? Děkuji.",\n
                              "4":"Dobrý den, mám vážný zájem o vozidlo „{{ vehicle_clean_name(vehicle) }} - Rok {{ vehicle.madeDate|slice(0,4) }}, {{ vehicle.mileage }} {{ vehicle.mileageUnit }}". Můžeme se dohodnout na nižší ceně? Je to reálné? Děkuji za odpověď."}'>\n
    Dobrý den, mám zájem o vaši nabídku „{{ vehicle_clean_name(vehicle) }} - Rok {{ vehicle.madeDate|slice(0,4) }}, {{ vehicle.mileage }} {{ vehicle.mileageUnit }}". Můžete mi prosím zavolat? Děkuji\n
                    </textarea>\n
                                </div>\n
                                <p class="form__info">Kliknutím na tlačítko Odeslat zprávu vyjadřujete svůj souhlas se zásadami\n
                                    <a  target="_blank" href="/ochrana-osobnich-udaju">Ochrany osobních údajů</a>.</p>\n
                                <button class="form__submit form__submit--block" type="submit">\n
                                    <i class="icon icon-email"></i>\n
                                    Odeslat zprávu\n
                                </button>\n
                            </form>\n
    \n
                        </article>\n
                </section>\n
    \n
            </article>\n
        </div>\n
    \n
        <script>\n
            const forms  = document.querySelectorAll('form')\n
            forms.forEach((form)=> {\n
                form.addEventListener('submit', (e)=> {\n
                    e.preventDefault()\n
    \n
    \n
                    let formData =  new FormData(form);\n
    \n
                    grecaptcha.ready(function() {\n
                        grecaptcha.execute('{{ google_recaptcha_site_key }}', { action: 'submit' }).then(function(token) {\n
    \n
                            formData.append('token', token)\n
    \n
                            const data = new URLSearchParams(formData);\n
    \n
                            (async () => {\n
                                const rawResponse = await fetch('{{ path('app_vehicle_form_new') }}', {\n
                                    method: 'POST',\n
                                    body:  data\n
                                });\n
                                const content = await rawResponse.json();\n
                                const button =   form.querySelector('button')\n
    \n
                                if(content.error === false) {\n
                                    form.reset()\n
                                    button.innerText = 'Odesláno, děkujeme za poptávku.'\n
                                    button.classList.add("back-green")\n
                                } else {\n
                                    button.innerText = content.error\n
                                    button.classList.add("back-red")\n
                                }\n
    \n
                            })();\n
    \n
                        });\n
                    });\n
    \n
    \n
    \n
                })\n
            })\n
    \n
        </script>\n
    \n
    \n
        {#\n
        <div class="modal" id="modal--map">\n
            <div class="modal__overlay js-modal-close"></div>\n
            <article class="modal__body" style="padding: 5px; max-width: none; height: 75%;">\n
                <iframe\n
                        src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1318529.0090685813!2d14.353945871812089!3d49.80013041918973!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x470b948fd7dd8243%3A0xf8661c75d3db586f!2sCzechia!5e0!3m2!1sen!2ses!4v1677857037662!5m2!1sen!2ses"\n
                        style="border:0; width: 100%; height: 100%;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>\n
            </article>\n
        </div>\n
        #}\n
    \n
    \n
        <script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>\n
    \n
        <script>\n
    \n
    \n
            $(".js-select2").select2({\n
                language: "cs",\n
                minimumResultsForSearch: -1,\n
                width: "100%",\n
            });\n
    \n
            function handleMobileContact() {\n
                const isMobile = window.innerWidth <= 768;\n
                const mobileContact = document.querySelector('.dealer--mobile');\n
                const desktopContact = document.querySelector('.dealer:not(.dealer--mobile)');\n
                \n
                if (isMobile) {\n
                    mobileContact.style.display = 'block';\n
                    desktopContact.style.display = 'none';\n
                } else {\n
                    mobileContact.style.display = 'none';\n
                    desktopContact.style.display = 'block';\n
                }\n
            }\n
    \n
            handleMobileContact();\n
            window.addEventListener('resize', handleMobileContact);\n
            \n
            // === VEHICLE STATISTICS TRACKING ===\n
    \n
            // Trackování zobrazení stránky\n
            trackVehicleAction('view');\n
            \n
            // Trackování "Zavolat prodejci" tlačítek\n
            document.querySelectorAll('.js-modal-show[href="#modal--call"]').forEach(button => {\n
                button.addEventListener('click', () => {\n
                    trackVehicleAction('call_dealer');\n
                });\n
            });\n
            \n
            // Trackování "Napsat prodejci" tlačítek\n
            document.querySelectorAll('.js-modal-show[href="#modal--write"]').forEach(button => {\n
                button.addEventListener('click', () => {\n
                    trackVehicleAction('message_dealer');\n
                });\n
            });\n
            \n
            // Trackování kliků na tel. čísla\n
            setTimeout(() => {\n
                document.querySelectorAll('a[href^="tel:"]').forEach(link => {\n
                    link.addEventListener('click', () => {\n
                        trackVehicleAction('phone_click');\n
                    });\n
                });\n
            }, 100);\n
    \n
            function trackVehicleAction(action) {\n
                const formData = new FormData();\n
                formData.append('vehicle_id', '{{ vehicle.id }}');\n
                formData.append('action', action);\n
                \n
                fetch('{{ path('app_vehicle_statistics_track') }}', {\n
                    method: 'POST',\n
                    body: formData\n
                }).catch(error => {\n
                    console.log('Tracking error:', error);\n
                });\n
            }\n
        </script>\n
    \n
    {% endblock %}\n
    """
  trace: {
    /www/hosting/autanet.cz/test/templates/homepage/detailVehicle.html.twig:206 {
      twig_get_attribute(Environment $env, Source $source, $object, $item, array $arguments = [], $type = 'any', $isDefinedTest = false, $ignoreStrictCheck = false, $sandboxed = false, int $lineno = -1) …
      ›     <th>Barva</th>    <td>{{  vehicle.color.name }}   </td></tr>
    }
    /www/hosting/autanet.cz/test/templates/homepage/detailVehicle.html.twig:206 {
      __TwigTemplate_a890a2093426288cc9b6a51da8a3f4e2->block_body($context, array $blocks = []) …
      ›     <th>Barva</th>    <td>{{  vehicle.color.name }}   </td></tr>
    }
    /www/hosting/autanet.cz/test/vendor/twig/twig/src/Template.php:171 {
      Twig\Template->displayBlock($name, array $context, array $blocks = [], $useBlocks = true, self $templateContext = null) …
      › try {    $template->$block($context, $blocks);} catch (Error $e) {
    }
    /www/hosting/autanet.cz/test/var/cache/dev/twig/58/58d79ad301e5e1411863cc298bde87d6.php:348 {
      __TwigTemplate_575f7be507dd64c27c13d5dd120f613b->doDisplay(array $context, array $blocks = []) …
      › echo "    ";$this->displayBlock('body', $context, $blocks);// line 179
    }
    /www/hosting/autanet.cz/test/vendor/twig/twig/src/Template.php:394 {
      Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
      › try {    $this->doDisplay($context, $blocks);} catch (Error $e) {
    }
    /www/hosting/autanet.cz/test/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));}
    }
    /www/hosting/autanet.cz/test/var/cache/dev/twig/82/82d8ea09fbe8284754d3da3d7d80a79e.php:52 {
      __TwigTemplate_a890a2093426288cc9b6a51da8a3f4e2->doDisplay(array $context, array $blocks = []) …
      › $this->parent = $this->loadTemplate("base.html.twig", "homepage/detailVehicle.html.twig", 1);$this->parent->display($context, array_merge($this->blocks, $blocks));}
    /www/hosting/autanet.cz/test/vendor/twig/twig/src/Template.php:394 {
      Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
      › try {    $this->doDisplay($context, $blocks);} catch (Error $e) {
    }
    /www/hosting/autanet.cz/test/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));}
    }
    /www/hosting/autanet.cz/test/vendor/twig/twig/src/Template.php:379 {
      Twig\Template->render(array $context) …
      › try {    $this->display($context);} catch (\Throwable $e) {
    }
    /www/hosting/autanet.cz/test/vendor/twig/twig/src/TemplateWrapper.php:40 {
      Twig\TemplateWrapper->render(array $context = []): string …
      ›     // as it should only be used by internal code    return $this->template->render($context, \func_get_args()[1] ?? []);}
    }
    /www/hosting/autanet.cz/test/vendor/twig/twig/src/Environment.php:280 {
      Twig\Environment->render($name, array $context = []): string …
      › {    return $this->load($name)->render($context);}
    }
    /www/hosting/autanet.cz/test/vendor/symfony/framework-bundle/Controller/AbstractController.php:242 {
      Symfony\Bundle\FrameworkBundle\Controller\AbstractController->renderView(string $view, array $parameters = []): string …
      › 
      ›     return $this->container->get('twig')->render($view, $parameters);}
    }
    /www/hosting/autanet.cz/test/vendor/symfony/framework-bundle/Controller/AbstractController.php:253 {
      Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render(string $view, array $parameters = [], Response $response = null): Response …
      › {    $content = $this->renderView($view, $parameters);    $response ??= new Response();
    }
    /www/hosting/autanet.cz/test/src/Controller/HomepageController.php:839 {
      App\Controller\HomepageController->vehicleDetailSeo(string $seoSlug, int $id, VehicleRepository $vehicleRepository, VehicleSeoService $vehicleSeoService, DealerOpenHourRepository $dealerOpenHourRepository): Response …
      › 
      › \treturn $this->render('homepage/detailVehicle.html.twig', compact('vehicle', 'openTime', 'vehicleOthers'));}
    }
    /www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php:163 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /www/hosting/autanet.cz/test/vendor/symfony/http-kernel/HttpKernel.php:74 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $this->handleRaw($request, $type);} catch (\Throwable $e) {
    }
    /www/hosting/autanet.cz/test/vendor/symfony/http-kernel/Kernel.php:184 {
      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 {
    }
    /www/hosting/autanet.cz/test/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
    }
    /www/hosting/autanet.cz/test/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /www/hosting/autanet.cz/test/public/index.php:6 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/www/hosting/autanet.cz/test/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#63 …9}