301 redirect from GET @web_get_page (abfa55)

Error 500 Internal Server Error

GET https://mua.greendot.cz/cs/menu_top

Forwarded to ErrorController (1419dd)

PageController :: getPage

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"App\Controller\Web\PageController::getPage"
_firewall_context
"security.firewall.map.context.main"
_locale
"cs"
_redirected
true
_remove_csp_headers
true
_route
"web_get_page"
_route_params
[
  "_locale" => "cs"
  "slug" => "menu_top"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"035370"
slug
"menu_top"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, zstd, deflate"
cookie
"PHPSESSID=5mr3lm4ch4fdpquj2i6q2amtlb; sf_redirect=%7B%22token%22%3A%22abfa55%22%2C%22route%22%3A%22web_get_page%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CWeb%5C%5CPageController%22%2C%22method%22%3A%22getPage%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fprojects%5C%2Fmua%5C%2Fsrc%5C%2FController%5C%2FWeb%5C%2FPageController.php%22%2C%22line%22%3A36%7D%2C%22status_code%22%3A301%2C%22status_text%22%3A%22Moved%20Permanently%22%7D"
host
"mua.greendot.cz"
referer
"https://mua.greendot.cz/_fragment/menu_top?request%5Bheaders%5D=Accept%3A++++++++++%2A%2F%2A%0D%0AAccept-Encoding%3A+gzip%2C+br%2C+zstd%2C+deflate%0D%0ACookie%3A++++++++++PHPSESSID%3Dilmnmjv63iad8jp6q57uotb4b2%0D%0AHost%3A++++++++++++mua.greendot.cz%0D%0AUser-Agent%3A++++++Mozilla%2F5.0+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%3B+compatible%3B+ClaudeBot%2F1.0%3B+%2Bclaudebot%40anthropic.com%29%0D%0AX-Php-Ob-Level%3A++1%0D%0A"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
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
"Thu, 19 Sep 2024 02:01:01 GMT"
vary
"Accept"
x-debug-exception
"No%20result%20was%20found%20for%20query%20although%20at%20least%20one%20row%20was%20expected."
x-debug-exception-file
"%2Fvar%2Fprojects%2Fmua%2Fvendor%2Fdoctrine%2Form%2Flib%2FDoctrine%2FORM%2FAbstractQuery.php:994"
x-debug-token
"084703"
x-debug-token-link
"https://mua.greendot.cz/_profiler/1419dd"
x-previous-debug-token
"1419dd"
x-robots-tag
"noindex"

Cookies

Request Cookies

Key Value
PHPSESSID
"5mr3lm4ch4fdpquj2i6q2amtlb"
sf_redirect
"{"token":"abfa55","route":"web_get_page","method":"GET","controller":{"class":"App\\Controller\\Web\\PageController","method":"getPage","file":"\/var\/projects\/mua\/src\/Controller\/Web\/PageController.php","line":36},"status_code":301,"status_text":"Moved Permanently"}"

Response Cookies

No response cookies

Session 2

Session Metadata

Key Value
Created
"Thu, 19 Sep 24 02:01:00 +0000"
Last used
"Thu, 19 Sep 24 02:01:00 +0000"
Lifetime
0

Session Attributes

Attribute Value
selectedCurrency
App\Entity\Project\Currency {#973
  -id: 1
  -name: "Česká koruna"
  -symbol: ""
  -conversionRate: 1.0
  -rounding: 2
  -isDefault: true
}

Session Usage

2 Usages
Stateless check enabled
Usage
App\EventSubscriber\BeforeControllerListener:56
[
  [
    "file" => "/var/projects/mua/src/EventSubscriber/BeforeControllerListener.php"
    "line" => 56
    "function" => "get"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 116
    "function" => "onKernelController"
    "class" => "App\EventSubscriber\BeforeControllerListener"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 206
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 127
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 151
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 74
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/http-kernel/Kernel.php"
    "line" => 184
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/public/index.php"
    "line" => 5
    "args" => [
      "/var/projects/mua/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]
Symfony\Component\Security\Http\Firewall\ContextListener:171
[
  [
    "file" => "/var/projects/mua/vendor/symfony/security-http/Firewall/ContextListener.php"
    "line" => 171
    "function" => "remove"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 116
    "function" => "onKernelResponse"
    "class" => "Symfony\Component\Security\Http\Firewall\ContextListener"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 206
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 127
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 196
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 247
    "function" => "filterResponse"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 89
    "function" => "handleThrowable"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/http-kernel/Kernel.php"
    "line" => 184
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/public/index.php"
    "line" => 5
    "args" => [
      "/var/projects/mua/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
"3bef66df610d3dd0623606c719433207"
CORS_ALLOW_ORIGIN
"^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$"
DATABASE_URL
"mysql://greendot:NecumV@localhost:3306/mua"
EMAIL
"web@mua.cas.cz"
MAILER_DSN
"smtp://web@mua.cas.cz:Zuy11208@smtp.office365.com:587?encryption=STARTTLS&verify_peer=0"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=1"
PACKETA_API_KEY
"0101304795bb7a64fcf06cef55e5895e"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/var/projects/mua/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/projects/mua/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_COOKIE
"PHPSESSID=5mr3lm4ch4fdpquj2i6q2amtlb; sf_redirect=%7B%22token%22%3A%22abfa55%22%2C%22route%22%3A%22web_get_page%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CWeb%5C%5CPageController%22%2C%22method%22%3A%22getPage%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fprojects%5C%2Fmua%5C%2Fsrc%5C%2FController%5C%2FWeb%5C%2FPageController.php%22%2C%22line%22%3A36%7D%2C%22status_code%22%3A301%2C%22status_text%22%3A%22Moved%20Permanently%22%7D"
HTTP_HOST
"mua.greendot.cz"
HTTP_REFERER
"https://mua.greendot.cz/_fragment/menu_top?request%5Bheaders%5D=Accept%3A++++++++++%2A%2F%2A%0D%0AAccept-Encoding%3A+gzip%2C+br%2C+zstd%2C+deflate%0D%0ACookie%3A++++++++++PHPSESSID%3Dilmnmjv63iad8jp6q57uotb4b2%0D%0AHost%3A++++++++++++mua.greendot.cz%0D%0AUser-Agent%3A++++++Mozilla%2F5.0+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%3B+compatible%3B+ClaudeBot%2F1.0%3B+%2Bclaudebot%40anthropic.com%29%0D%0AX-Php-Ob-Level%3A++1%0D%0A"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"mua.greendot.cz"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/cs/menu_top"
REMOTE_ADDR
"3.144.222.185"
REMOTE_PORT
"11462"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1726711261
REQUEST_TIME_FLOAT
1726711261.2386
REQUEST_URI
"/cs/menu_top"
SCRIPT_FILENAME
"/var/projects/mua/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"190.2.155.146"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"mua.greendot.cz"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"mua.greendot.cz"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,MAILER_DSN,DATABASE_URL,CORS_ALLOW_ORIGIN,EMAIL,PACKETA_API_KEY,MESSENGER_TRANSPORT_DSN"
USER
"www-data"
proxy-nokeepalive
"1"

Sub Requests 1

ErrorController (token = 1419dd)

Key Value
_controller
"error_controller"
_stopwatch_token
"bd4d5d"
exception
Doctrine\ORM\NoResultException {#1248
  #message: "No result was found for query although at least one row was expected."
  #code: 0
  #file: "/var/projects/mua/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"
  #line: 994
  trace: {
    /var/projects/mua/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:994 {
      Doctrine\ORM\AbstractQuery->getSingleResult($hydrationMode = null) …
      › if ($this->_hydrationMode !== self::HYDRATE_SINGLE_SCALAR && ! $result) {    throw new NoResultException();}
    }
    /var/projects/mua/src/Repository/Project/CategoryRepository.php:359 {
      App\Repository\Project\CategoryRepository->findOneBySlug(string $slug): Category …
      › )->getSingleResult();
    }
    /var/projects/mua/src/Controller/Web/PageController.php:39 {
      App\Controller\Web\PageController->getPage(string $slug, CategoryRepository $categoryRepository, UrlGeneratorInterface $urlGenerator, Request $request, EntityManagerInterface $entityManager, dynamicReplacement $dynamicReplacement, EventRepository $eventRepository): Response …
      › //dd($eventRepository->findAll()); $category = $categoryRepository->findOneBySlug($slug); //$menu_categories = $categoryRepository->findBy(['category'=>0]);
    }
    /var/projects/mua/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);}
    /var/projects/mua/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) {
    }
    /var/projects/mua/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 {
    }
    /var/projects/mua/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/projects/mua/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/projects/mua/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/projects/mua/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#116 …9}