Error 500 Internal Server Error

GET http://skolkakrupa.cz/news/asitent-pedagoga

Forwarded to ErrorController (57804f)

HomepageController :: new

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"App\Controller\HomepageController::new"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"new"
_route_params
[
  "article" => "asitent-pedagoga"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"0e13a5"
article
"asitent-pedagoga"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, deflate"
content-length
""
content-type
""
from
"gptbot(at)openai.com"
host
"skolkakrupa.cz"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)"
x-forwarded-for
"20.171.207.84"
x-forwarded-host
"skolkakrupa.cz"
x-forwarded-port
"443"
x-forwarded-proto
"https"
x-forwarded-server
"7b38811952c1"
x-openai-host-hash
"845076774"
x-php-ob-level
"0"
x-real-ip
"20.171.207.84"

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
"Sat, 14 Jun 2025 01:06:52 GMT"
x-debug-exception
"An%20exception%20occurred%20while%20executing%20a%20query%3A%20SQLSTATE%5B22P02%5D%3A%20Invalid%20text%20representation%3A%207%20ERROR%3A%20%20invalid%20input%20syntax%20for%20type%20integer%3A%20%22asitent-pedagoga%22%0ACONTEXT%3A%20%20unnamed%20portal%20parameter%20%241%20%3D%20%27...%27"
x-debug-exception-file
"%2Fapp%2Fvendor%2Fdoctrine%2Fdbal%2Fsrc%2FDriver%2FAPI%2FPostgreSQL%2FExceptionConverter.php:87"
x-debug-token
"dbc683"
x-debug-token-link
"http://skolkakrupa.cz/_profiler/57804f"
x-previous-debug-token
"57804f"
x-robots-tag
"noindex"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
(no data)

Defined as regular env variables

Key Value
APP_DEBUG
"1"
APP_ENV
"dev"
APP_SECRET
"7dd90299ff7bde651f23f6817066748e"
APP_URL
"https://localhost:8000"
COMPOSER_ALLOW_SUPERUSER
"1"
CONTENT_LENGTH
""
CONTENT_TYPE
""
COOLIFY_BRANCH
"master"
COOLIFY_CONTAINER_NAME
"so8gw40skwwwocs8okgssgk8-144446699154"
COOLIFY_FQDN
"skolkakrupa.cz"
COOLIFY_URL
"https://skolkakrupa.cz"
CPATH
"~/.nix-profile/include:"
DATABASE_URL
"postgres://postgres:D7sDmt5pDiXcy5n9OXyP2FzisjxVofYuBM7j3M6hv2sWfLzuccDLUW5iyU3Nhz4V@o004cow4kkkk0o08sckwcog4:5432/postgres?serverVersion=15&charset=utf8"
DOCUMENT_ROOT
"/app/public"
DOCUMENT_URI
"/index.php"
ENV
"/etc/profile"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
GIT_SSL_CAINFO
"/etc/ssl/certs/ca-certificates.crt"
HOME
"/nonexistent"
HOST
"0.0.0.0"
HOSTNAME
"42fd6106d3ca"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, deflate"
HTTP_FROM
"gptbot(at)openai.com"
HTTP_HOST
"skolkakrupa.cz"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)"
HTTP_X_FORWARDED_FOR
"20.171.207.84"
HTTP_X_FORWARDED_HOST
"skolkakrupa.cz"
HTTP_X_FORWARDED_PORT
"443"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_SERVER
"7b38811952c1"
HTTP_X_OPENAI_HOST_HASH
"845076774"
HTTP_X_REAL_IP
"20.171.207.84"
LD_LIBRARY_PATH
"/nix/store/v2lhwmpg338d5amx5f5cqxz44b4a23l4-mariadb-connector-c-3.3.5/lib:/nix/store/pwsfskjg1m8sz3glc4l3hg9gpgp0ylwk-php-ctype-8.1.29/lib:/nix/store/y17yxb5l5y2ynz1j2nbm07hd4k1ds6sd-php-iconv-8.1.29/lib:/usr/lib"
LIBRARY_PATH
"~/.nix-profile/lib:"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
NIXPACKS_METADATA
""
NIXPACKS_PHP_FALLBACK_PATH
"/index.php"
NIXPACKS_PHP_ROOT_DIR
"/app/public"
NIXPKGS_ALLOW_BROKEN
"1"
NIXPKGS_ALLOW_INSECURE
"1"
NIXPKGS_ALLOW_UNFREE
"1"
NIX_PATH
"/nix/var/nix/profiles/per-user/root/channels"
NIX_PROFILES
"/nix/var/nix/profiles/default /root/.nix-profile"
NIX_SSL_CERT_FILE
"/etc/ssl/certs/ca-certificates.crt"
PATH
":/root/.nix-profile/bin:/root/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/root/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin:/bin:/sbin:/usr/bin:/usr/sbin"
PHP_INI_SCAN_DIR
"/nix/store/7qvqslx4fpz7qwgbd9091lgcs708b4gg-php-with-extensions-8.1.29/lib"
PHP_SELF
"/index.php"
PORT
"80"
PWD
"/app"
QTDIR
"~/.nix-profile:"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"172.18.0.2"
REMOTE_PORT
"44580"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"http"
REQUEST_TIME
1749863212
REQUEST_TIME_FLOAT
1749863212.396
REQUEST_URI
"/news/asitent-pedagoga"
SCRIPT_FILENAME
"/app/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"172.18.0.13"
SERVER_NAME
"localhost"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.26.2"
SHLVL
"0"
SOURCE_COMMIT
"00b06c50d2cf75afb98d1e83b9d7b1b90303d9c4"
TRUSTED_PROXIES
"195.201.35.165"
USER
"nobody"
XDG_DATA_DIRS
"/usr/local/share:/usr/share:/root/.nix-profile/share:/nix/var/nix/profiles/default/share:/root/.nix-profile/share:/nix/var/nix/profiles/default/share:/root/.nix-profile/share:/nix/var/nix/profiles/default/share"
_
"/root/.nix-profile/bin/php-fpm"
argc
0
argv
[]

Sub Requests 1

ErrorController (token = 57804f)

Key Value
_controller
"error_controller"
_stopwatch_token
"47cb32"
exception
Doctrine\DBAL\Exception\DriverException {#637
  #message: """
    An exception occurred while executing a query: SQLSTATE[22P02]: Invalid text representation: 7 ERROR:  invalid input syntax for type integer: "asitent-pedagoga"\n
    CONTEXT:  unnamed portal parameter $1 = '...'
    """
  #code: 7
  #file: "/app/vendor/doctrine/dbal/src/Driver/API/PostgreSQL/ExceptionConverter.php"
  #line: 87
  -previous: Doctrine\DBAL\Driver\PDO\Exception {#634 …}
  -query: Doctrine\DBAL\Query {#635 …}
  trace: {
    /app/vendor/doctrine/dbal/src/Driver/API/PostgreSQL/ExceptionConverter.php:87 {
      Doctrine\DBAL\Driver\API\PostgreSQL\ExceptionConverter->convert(Exception $exception, ?Query $query): DriverException …
      › 
      ›     return new DriverException($exception, $query);}
    }
    /app/vendor/doctrine/dbal/src/Connection.php:1931 {
      Doctrine\DBAL\Connection->handleDriverException(Exception $driverException, ?Query $query): DriverException …
      › $this->exceptionConverter ??= $this->_driver->getExceptionConverter();$exception                  = $this->exceptionConverter->convert($driverException, $query);arguments: {
        $exception: Doctrine\DBAL\Driver\PDO\Exception {#634 …}
        $query: Doctrine\DBAL\Query {#635 …}
      }
    }
    /app/vendor/doctrine/dbal/src/Connection.php:1874 {
      Doctrine\DBAL\Connection->convertExceptionDuringQuery(Exception $e, string $sql, array $params = [], array $types = []): DriverException …
      › ): DriverException {    return $this->handleDriverException($e, new Query($sql, $params, $types));}
      arguments: {
        $driverException: Doctrine\DBAL\Driver\PDO\Exception {#634 …}
        $query: Doctrine\DBAL\Query {#635 …}
      }
    }
    /app/vendor/doctrine/dbal/src/Connection.php:1099 {
      Doctrine\DBAL\Connection->executeQuery(string $sql, array $params = [], $types = [], QueryCacheProfile $qcp = null): Result …
      › } catch (Driver\Exception $e) {    throw $this->convertExceptionDuringQuery($e, $sql, $params, $types);} finally {
      arguments: {
        $e: Doctrine\DBAL\Driver\PDO\Exception {#634 …}
        $sql: "SELECT t0.id AS id_1, t0.headline AS headline_2, t0.content AS content_3, t0.created_at AS created_at_4, t0.active AS active_5 FROM articles t0 WHERE t0.id = ?"
        $params: [ …1]
        $types: [ …1]
      }
    }
    /app/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php:750 {
      Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load(array $criteria, $entity = null, $assoc = null, array $hints = [], $lockMode = null, $limit = null, array $orderBy = null) …
      › [$params, $types] = $this->expandParameters($criteria);$stmt             = $this->conn->executeQuery($sql, $params, $types);arguments: {
        $sql: "SELECT t0.id AS id_1, t0.headline AS headline_2, t0.content AS content_3, t0.created_at AS created_at_4, t0.active AS active_5 FROM articles t0 WHERE t0.id = ?"
        $params: [ …1]
        $types: [ …1]
      }
    }
    /app/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php:768 {
      Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadById(array $identifier, $entity = null) …
      › {    return $this->load($identifier, $entity);}
      arguments: {
        $criteria: [ …1]
        $entity: null
      }
    }
    /app/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:521 {
      Doctrine\ORM\EntityManager->find($className, $id, $lockMode = null, $lockVersion = null) …
      ›     default:        return $persister->loadById($sortedId);}
      arguments: {
        $identifier: [ …1]
      }
    }
    /app/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php:197 {
      Doctrine\ORM\EntityRepository->find($id, $lockMode = null, $lockVersion = null) …
      › {    return $this->_em->find($this->_entityName, $id, $lockMode, $lockVersion);}
      arguments: {
        $className: "App\Entity\Articles"
        $id: []
        $lockMode: null
        $lockVersion: null
      }
    }
    /app/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php:142 {
      Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter->find($class, Request $request, $options, $name) …
      › try {    return $om->getRepository($class)->$method($id);} catch (NoResultException $e) {
      arguments: {
        $id: "asitent-pedagoga"
      }
    }
    /app/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php:91 {
      Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter->apply(Request $request, ParamConverter $configuration) …
      ›     // find by identifier?} elseif (false === $object = $this->find($class, $request, $options, $name)) {    // find by criteria
      arguments: {
        $class: "App\Entity\Articles"
        $request: Symfony\Component\HttpFoundation\Request {#2 …}
        $options: [ …9]
        $name: "article"
      }
    }
    /app/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/ParamConverterManager.php:84 {
      Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager->applyConverter(Request $request, ParamConverter $configuration) …
      › if ($converter->supports($configuration)) {    if ($converter->apply($request, $configuration)) {        return;
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#2 …}
        $configuration: Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter {#497 …}
      }
    }
    /app/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/ParamConverterManager.php:48 {
      Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager->apply(Request $request, $configurations) …
      › foreach ($configurations as $configuration) {    $this->applyConverter($request, $configuration);}
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#2 …}
        $configuration: Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter {#497 …}
      }
    }
    /app/vendor/sensio/framework-extra-bundle/src/EventListener/ParamConverterListener.php:72 {
      Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener->onKernelController(KernelEvent $event) …
      › 
      ›     $this->manager->apply($request, $configurations);}
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#2 …}
        $configurations: [ …1]
      }
    }
    /app/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115 {
      Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
      › 
      › ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);arguments: {
        $event: Symfony\Component\HttpKernel\Event\ControllerEvent {#436 …}
        ...: {
          "kernel.controller"
          Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#133 …}
        }
      }
    }
    /app/vendor/symfony/event-dispatcher/EventDispatcher.php:206 {
      Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
      ›     }    $listener($event, $eventName, $this);}
      arguments: {
        $event: Symfony\Component\HttpKernel\Event\ControllerEvent {#436 …}
        $eventName: "kernel.controller"
        $dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#133 …}
      }
    }
    /app/vendor/symfony/event-dispatcher/EventDispatcher.php:56 {
      Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object $event, string $eventName = null): object …
      › if ($listeners) {    $this->callListeners($listeners, $eventName, $event);}
      arguments: {
        $listeners: [ …7]
        $eventName: "kernel.controller"
        $event: Symfony\Component\HttpKernel\Event\ControllerEvent {#436 …}
      }
    }
    /app/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:127 {
      Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
      › try {    $this->dispatcher->dispatch($event, $eventName);} finally {
      arguments: {
        $event: Symfony\Component\HttpKernel\Event\ControllerEvent {#436 …}
        $eventName: "kernel.controller"
      }
    }
    /app/vendor/symfony/http-kernel/HttpKernel.php:151 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › $event = new ControllerEvent($this, $controller, $request, $type);$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER);$controller = $event->getController();
      arguments: {
        $event: Symfony\Component\HttpKernel\Event\ControllerEvent {#436 …}
        $eventName: "kernel.controller"
      }
    }
    /app/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) {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#2 …}
        $type: 1
      }
    }
    /app/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 {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#2 …}
        $type: 1
        $catch: true
      }
    }
    /app/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#2 …}
      }
    }
    /app/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /app/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/app/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#46 …9}