Error 500 Internal Server Error

GET https://shop.kitrina.ru/category/59664

ErrorController

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"error_controller"
_controller_attributes
[]
_stopwatch_token
"cd7015"
exception
ErrorException {#618
  #message: "Warning: Undefined array key "products""
  #code: 0
  #file: "/home/h/h91704m5/kitrina/src/Controller/kitshop/KitshopController.php"
  #line: 161
  #severity: E_WARNING
  trace: {
    /home/h/h91704m5/kitrina/src/Controller/kitshop/KitshopController.php:161 {
      App\Controller\kitshop\KitshopController->getcat(string $slug): Response …
      › $data = $categories->toArray();\r
      › $data['products'] = $products['products'];\r
      › $data['breadcrumbs'] = $cat_info['breadcrumbs'];\r
    }
    /home/h/h91704m5/kitrina/vendor/symfony/http-kernel/HttpKernel.php:190 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST, ?ControllerMetadata &$controllerMetadata = null): Response …
      › // call controller
      › $response = $controller(...$arguments);
      › 
      arguments: {
        $slug: "59664"
      }
    }
    /home/h/h91704m5/kitrina/vendor/symfony/http-kernel/HttpKernel.php:79 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {
      ›     return $response = $this->handleRaw($request, $type, $controllerMetadata);
      › } catch (\Throwable $e) {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#35 …}
        $type: 1
        &$controllerMetadata: Symfony\Component\HttpKernel\Event\ControllerArgumentsMetadata {#170 …}
      }
    }
    /home/h/h91704m5/kitrina/vendor/symfony/http-kernel/Kernel.php:143 {
      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 {#35 …}
        $type: 1
        $catch: true
      }
    }
    /home/h/h91704m5/kitrina/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {
      ›     $response = $this->kernel->handle($this->request);
      › 
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#35 …}
      }
    }
    /home/h/h91704m5/kitrina/vendor/autoload_runtime.php:32 {
      require_once …
      ›         ->getRunner($app)
      ›         ->run()
      › );
    }
    /home/h/h91704m5/kitrina/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
      › 
      arguments: {
        "/home/h/h91704m5/kitrina/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Processor\DebugProcessor {#80
  -records: [
    35 => [
      [
        "timestamp" => 1796594479
        "timestamp_rfc3339" => "2026-12-07T01:01:19.225+03:00"
        "message" => "Matched route "{route}"."
        "priority" => 200
        "priorityName" => "INFO"
        "context" => [
          "route" => "kitrina_category"
          "route_parameters" => [
            "_route" => "kitrina_category"
            "_controller" => "App\Controller\kitshop\KitshopController::getcat"
            "slug" => "59664"
          ]
          "request_uri" => "https://shop.kitrina.ru/category/59664"
          "method" => "GET"
        ]
        "channel" => "request"
      ]
      [
        "timestamp" => 1796594479
        "timestamp_rfc3339" => "2026-12-07T01:01:19.228+03:00"
        "message" => "Checking for authenticator support."
        "priority" => 100
        "priorityName" => "DEBUG"
        "context" => [
          "firewall_name" => "main"
          "authenticators" => 0
        ]
        "channel" => "security"
      ]
      [
        "timestamp" => 1796594479
        "timestamp_rfc3339" => "2026-12-07T01:01:19.232+03:00"
        "message" => "Request: "GET https://kitopt02.ru/index.php?route=api/kitapi/getcat&mail=nkolobov@mail.ru&key=b6Rhj2L0GMLcj3QgdbKakL8qRFy1vkW2lbBZw5aFQoA5YU8XSAjMkISPmbaxG3tSt&parent_id=59664""
        "priority" => 200
        "priorityName" => "INFO"
        "context" => []
        "channel" => "http_client"
      ]
      [
        "timestamp" => 1796594479
        "timestamp_rfc3339" => "2026-12-07T01:01:19.233+03:00"
        "message" => "Request: "GET https://kitopt02.ru/index.php?route=api/kitapi/getProducts&mail=nkolobov@mail.ru&key=b6Rhj2L0GMLcj3QgdbKakL8qRFy1vkW2lbBZw5aFQoA5YU8XSAjMkISPmbaxG3tSt&cat_id=59664""
        "priority" => 200
        "priorityName" => "INFO"
        "context" => []
        "channel" => "http_client"
      ]
      [
        "timestamp" => 1796594479
        "timestamp_rfc3339" => "2026-12-07T01:01:19.316+03:00"
        "message" => "Response: "{http_code} {url}" {total_time} seconds"
        "priority" => 200
        "priorityName" => "INFO"
        "context" => [
          "http_code" => 200
          "url" => "https://kitopt02.ru/index.php?route=api/kitapi/getProducts&mail=nkolobov@mail.ru&key=b6Rhj2L0GMLcj3QgdbKakL8qRFy1vkW2lbBZw5aFQoA5YU8XSAjMkISPmbaxG3tSt&cat_id=59664"
          "total_time" => 0.083152
        ]
        "channel" => "http_client"
      ]
      [
        "timestamp" => 1796594479
        "timestamp_rfc3339" => "2026-12-07T01:01:19.317+03:00"
        "message" => "Request: "GET https://kitopt02.ru/index.php?route=api/kitapi/getcatinfo&mail=nkolobov@mail.ru&key=b6Rhj2L0GMLcj3QgdbKakL8qRFy1vkW2lbBZw5aFQoA5YU8XSAjMkISPmbaxG3tSt&cat_id=59664""
        "priority" => 200
        "priorityName" => "INFO"
        "context" => []
        "channel" => "http_client"
      ]
      [
        "timestamp" => 1796594479
        "timestamp_rfc3339" => "2026-12-07T01:01:19.369+03:00"
        "message" => "Response: "{http_code} {url}" {total_time} seconds"
        "priority" => 200
        "priorityName" => "INFO"
        "context" => [
          "http_code" => 200
          "url" => "https://kitopt02.ru/index.php?route=api/kitapi/getcatinfo&mail=nkolobov@mail.ru&key=b6Rhj2L0GMLcj3QgdbKakL8qRFy1vkW2lbBZw5aFQoA5YU8XSAjMkISPmbaxG3tSt&cat_id=59664"
          "total_time" => 0.051282
        ]
        "channel" => "http_client"
      ]
      [
        "timestamp" => 1796594479
        "timestamp_rfc3339" => "2026-12-07T01:01:19.369+03:00"
        "message" => "Response: "{http_code} {url}" {total_time} seconds"
        "priority" => 200
        "priorityName" => "INFO"
        "context" => [
          "http_code" => 200
          "url" => "https://kitopt02.ru/index.php?route=api/kitapi/getcat&mail=nkolobov@mail.ru&key=b6Rhj2L0GMLcj3QgdbKakL8qRFy1vkW2lbBZw5aFQoA5YU8XSAjMkISPmbaxG3tSt&parent_id=59664"
          "total_time" => 0.079709
        ]
        "channel" => "http_client"
      ]
      [
        "timestamp" => 1796594479
        "timestamp_rfc3339" => "2026-12-07T01:01:19.371+03:00"
        "message" => "Uncaught PHP Exception ErrorException: "Warning: Undefined array key "products"" at KitshopController.php line 161"
        "priority" => 500
        "priorityName" => "CRITICAL"
        "context" => [
          "exception" => ErrorException {#618
            #message: "Warning: Undefined array key "products""
            #code: 0
            #file: "/home/h/h91704m5/kitrina/src/Controller/kitshop/KitshopController.php"
            #line: 161
            #severity: E_WARNING
            trace: {
              /home/h/h91704m5/kitrina/src/Controller/kitshop/KitshopController.php:161 {
                App\Controller\kitshop\KitshopController->getcat(string $slug): Response …
                › $data = $categories->toArray();\r
                › $data['products'] = $products['products'];\r
                › $data['breadcrumbs'] = $cat_info['breadcrumbs'];\r
              }
              /home/h/h91704m5/kitrina/vendor/symfony/http-kernel/HttpKernel.php:190 {
                Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST, ?ControllerMetadata &$controllerMetadata = null): Response …
                › // call controller
                › $response = $controller(...$arguments);
                › 
                arguments: {
                  $slug: "59664"
                }
              }
              /home/h/h91704m5/kitrina/vendor/symfony/http-kernel/HttpKernel.php:79 {
                Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
                › try {
                ›     return $response = $this->handleRaw($request, $type, $controllerMetadata);
                › } catch (\Throwable $e) {
                arguments: {
                  $request: Symfony\Component\HttpFoundation\Request {#35 …}
                  $type: 1
                  &$controllerMetadata: Symfony\Component\HttpKernel\Event\ControllerArgumentsMetadata {#170 …}
                }
              }
              /home/h/h91704m5/kitrina/vendor/symfony/http-kernel/Kernel.php:143 {
                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 {#35 …}
                  $type: 1
                  $catch: true
                }
              }
              /home/h/h91704m5/kitrina/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34 {
                Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
                › {
                ›     $response = $this->kernel->handle($this->request);
                › 
                arguments: {
                  $request: Symfony\Component\HttpFoundation\Request {#35 …}
                }
              }
              /home/h/h91704m5/kitrina/vendor/autoload_runtime.php:32 {
                require_once …
                ›         ->getRunner($app)
                ›         ->run()
                › );
              }
              /home/h/h91704m5/kitrina/public/index.php:5 {
                › 
                › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
                › 
                arguments: {
                  "/home/h/h91704m5/kitrina/vendor/autoload_runtime.php"
                }
              }
            }
          }
        ]
        "channel" => "request"
      ]
    ]
  ]
  -errorCount: [
    35 => 1
  ]
  -requestStack: Symfony\Component\HttpKernel\Debug\VirtualRequestStack {#101 …}
}

Request Headers

Header Value
accept
"text/plain,text/html,application/xhtml+xml,application/xml"
accept-encoding
"gzip,deflate"
host
"shop.kitrina.ru"
user-agent
"Mozilla/5.0 (compatible; SERankingBacklinksBot/1.0; +https://seranking.com/backlinks-crawler)"
x-forwarded-proto
"https"
x-php-ob-level
"0"
x-real-ip
"5.9.120.8"
x-server-addr
"87.236.16.175"

Request Content

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

Retry Command

curl \
  --compressed \
  --url 'https://shop.kitrina.ru/category/59664' \
  --header 'X-Server-Addr: 87.236.16.175' \
  --header 'X-Forwarded-Proto: https' \
  --header 'X-Real-Ip: 5.9.120.8' \
  --header 'Accept: text/plain,text/html,application/xhtml+xml,application/xml' \
  --header 'User-Agent: Mozilla/5.0 (compatible; SERankingBacklinksBot/1.0; +https://seranking.com/backlinks-crawler)' \
  --header 'Accept-Encoding: gzip,deflate' \
  --header 'X-Php-Ob-Level: 0'

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Sun, 06 Dec 2026 22:01:19 GMT"
vary
"Accept"
x-debug-exception
"Warning%3A%20Undefined%20array%20key%20%22products%22"
x-debug-exception-file
"%2Fhome%2Fh%2Fh91704m5%2Fkitrina%2Fsrc%2FController%2Fkitshop%2FKitshopController.php:161"
x-debug-token
"b68640"
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
APP_ENV
"dev"
APP_SECRET
"26eb56e0437d52793623d97409bae8a3"
APP_SHARE_DIR
"var/share"
DATABASE_URL
"mysql://h91704m5_kitrina:h3zospl3oF!L@127.0.0.1:3306/h91704m5_kitrina?serverVersion=5.7.21-20-beget-5.7.21-20-1-log&charset=utf8mb4"
DEFAULT_URI
"http://localhost"
MAILER_DSN
"null://null"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
APP_PROJECT_DIR
"/home/h/h91704m5/kitrina"
APP_RUNTIME
"Symfony\Component\Runtime\SymfonyRuntime"
APP_RUNTIME_OPTIONS
[
  "project_dir" => "/home/h/h91704m5/kitrina"
]
APT_GET_INSTALL
"apt-get install --no-install-recommends -qq -y"
APT_GET_UPDATE
"apt-get update -qq"
APT_GET_UPGRADE
"apt-get dist-upgrade -qq -y"
CONTEXT_DOCUMENT_ROOT
"/home/h/h91704m5/kitrina/public_html"
CONTEXT_PREFIX
""
DEBIAN_FRONTEND
"noninteractive"
DOCUMENT_ROOT
"/home/h/h91704m5/kitrina/public_html"
GATEWAY_INTERFACE
"CGI/1.1"
GEOIP_ADDR
"5.9.120.8"
GEOIP_CITY
"Falkenstein"
GEOIP_CONTINENT_CODE
"EU"
GEOIP_COUNTRY_CODE
"DE"
GEOIP_COUNTRY_NAME
"Germany"
GEOIP_LATITUDE
"50.47770"
GEOIP_LONGITUDE
"12.36490"
GEOIP_POSTAL_CODE
"08223"
GEOIP_REGION
"SN"
HOME
"/root"
HOSTNAME
"vader4.beget.ru"
HTTPS
"on"
HTTP_ACCEPT
"text/plain,text/html,application/xhtml+xml,application/xml"
HTTP_ACCEPT_ENCODING
"gzip,deflate"
HTTP_HOST
"shop.kitrina.ru"
HTTP_USER_AGENT
"Mozilla/5.0 (compatible; SERankingBacklinksBot/1.0; +https://seranking.com/backlinks-crawler)"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_REAL_IP
"5.9.120.8"
HTTP_X_SERVER_ADDR
"87.236.16.175"
IN_CONTAINER
"true"
MMDB_ADDR
"5.9.120.8"
MMDB_INFO
"result found"
OLDPWD
"/"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PERL_USE_UNSAFE_INC
"1"
PHP_SELF
"/index.php"
PWD
"/"
QUERY_STRING
""
REDIRECT_GEOIP_ADDR
"5.9.120.8"
REDIRECT_GEOIP_CITY
"Falkenstein"
REDIRECT_GEOIP_CONTINENT_CODE
"EU"
REDIRECT_GEOIP_COUNTRY_CODE
"DE"
REDIRECT_GEOIP_COUNTRY_NAME
"Germany"
REDIRECT_GEOIP_LATITUDE
"50.47770"
REDIRECT_GEOIP_LONGITUDE
"12.36490"
REDIRECT_GEOIP_POSTAL_CODE
"08223"
REDIRECT_GEOIP_REGION
"SN"
REDIRECT_HTTPS
"on"
REDIRECT_MMDB_ADDR
"5.9.120.8"
REDIRECT_MMDB_INFO
"result found"
REDIRECT_PERL_USE_UNSAFE_INC
"1"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"axXbL_4n-xI6Y2soHG0sqwAAAAI"
REDIRECT_URL
"/category/59664"
REMOTE_ADDR
"5.9.120.8"
REMOTE_PORT
"58035"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1796594479
REQUEST_TIME_FLOAT
1796594479.1718
REQUEST_URI
"/category/59664"
SCRIPT_FILENAME
"/home/h/h91704m5/kitrina/public_html/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"87.236.16.175"
SERVER_ADMIN
"webmaster@shop.kitrina.ru"
SERVER_NAME
"shop.kitrina.ru"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache/2.4.71 (Unix) Server at shop.kitrina.ru Port 80</address>\n"
SERVER_SOFTWARE
"Apache/2.4.71 (Unix)"
SHLVL
"0"
SYMFONY_DOTENV_PATH
"/home/h/h91704m5/kitrina/.env"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,APP_SHARE_DIR,DEFAULT_URI,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN"
UNIQUE_ID
"axXbL_4n-xI6Y2soHG0sqwAAAAI"
argc
0
argv
[]

Parent Request

Return to parent request (token = 475d96)

Key Value
_controller
"App\Controller\kitshop\KitshopController::getcat"
_controller_attributes
[
  Symfony\Component\Routing\Attribute\Route {#446
    +methods: []
    +envs: []
    +schemes: []
    +aliases: []
    +path: "/category/{slug}"
    +name: "kitrina_category"
    +requirements: []
    +options: []
    +defaults: []
    +host: "shop.kitrina.ru"
    +condition: null
    +priority: null
  }
]
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"kitrina_category"
_route_params
[
  "slug" => "59664"
]
_security_authenticators
[]
_security_firewall_run
"_security_main"
_security_skipped_authenticators
[]
_stopwatch_token
"26e102"
slug
"59664"