Warning: Undefined array key "cluster" in /app/src/eshop/inc/conf.php on line 313
# Symfony\Component\Finder\Exception\DirectoryNotFoundException **The "/var/eshopy/tpltest/hecht/97dbcqxaqtc0-czhechtcz/" directory does not exist.** ## Source File **File:** `/app/src/vendor/symfony/finder/Finder.php:648` ```php 638 | { 639 | $resolvedDirs = []; 640 | 641 | foreach ((array) $dirs as $dir) { 642 | if (is_dir($dir)) { 643 | $resolvedDirs[] = [$this->normalizeDir($dir)]; 644 | } elseif ($glob = glob($dir, (\defined('GLOB_BRACE') ? \GLOB_BRACE : 0) | \GLOB_ONLYDIR | \GLOB_NOSORT)) { 645 | sort($glob); 646 | $resolvedDirs[] = array_map($this->normalizeDir(...), $glob); 647 | } else { >>> 648 | throw new DirectoryNotFoundException(\sprintf('The "%s" directory does not exist.', $dir)); 649 | } 650 | } 651 | 652 | $this->dirs = array_merge($this->dirs, ...$resolvedDirs); 653 | 654 | return $this; 655 | } 656 | 657 | /** 658 | * Returns an Iterator for the current Finder configuration. ``` ## Call Stack | # | File | Call | |---|------|------| | 0 | `/app/src/src/Template/Config/TemplateConfigHandler.php:128` | Symfony\Component\Finder\Finder::**in**(...) | | 1 | `/app/src/eshop/inc/TableObserver.php:133` | App\Template\Config\TemplateConfigHandler::**getTemplateVersion**() | | 2 | `/app/src/eshop/inc/TTabulka.php:456` | TableObserver::**getInstance**(...) | | 3 | `/app/src/eshop/w/presenter/Vypis/Kategorie.php:91` | CKategorie::**zParametru**(...) | | 4 | `/app/src/eshop/inc/Presenter.php:235` | Vypis_Kategorie_Presenter::**createInstance**(...) | | 5 | *inner-code* | Presenter::**getInstance**(...) | | 6 | `/app/src/src/Model/MatchedPresenter.php:55` | **call_user_func_array**(...) | | 7 | `/app/src/eshop/inc/EshopPresenter.php:3387` | App\Model\MatchedPresenter::**createInstance**(...) | | 8 | `/app/src/eshop/inc/EshopPresenter.php:3473` | EshopPresenter::**redirectPresenterFromUrl**(...) | | 9 | `/app/src/eshop/w/index.php:124` | EshopPresenter::**findPresenter**(...) | ### Frame 0: `/app/src/src/Template/Config/TemplateConfigHandler.php:128` ```php 123 | if ($this->templateVersion) { 124 | return $this->templateVersion; 125 | } 126 | if ($this->aliasConfig->isTplTest()) { 127 | $hash = []; >>> 128 | foreach (Finder::create()->in(LAYOUT_DIR)->exclude('images')->exclude('.git')->exclude('.idea')->name('*.tpl')->name('*.css')->name('*.js')->name('*.scss')->name('*.json')->name('*.xml')->files()->getIterator() as $file) { 129 | $hash[] = md5_file($file->getRealPath()); 130 | } 131 | 132 | return $this->templateVersion = md5(implode(',', $hash)); 133 | } ``` **Arguments:** - `$dirs`: '/var/eshopy/tpltest/hecht/97dbcqxaqtc0-czhechtcz/' ### Frame 1: `/app/src/eshop/inc/TableObserver.php:133` ```php 128 | * @return TableObserver 129 | */ 130 | public static function getInstance($className, $key) { 131 | $cache_key = $className . "_" . $key . "_" . self::getVersion(); 132 | if (\DI::getAliasConfig()->isLegacyOutputFrontEnd()) { >>> 133 | $cache_key .= '_' . DI::getTemplateConfigHandler()->getTemplateVersion(); 134 | } 135 | if (!isset(static::$inst[$cache_key])) { 136 | static::$inst[$cache_key] = new static(); 137 | static::$inst[$cache_key]->cachekey = $cache_key; 138 | static::$inst[$cache_key]->key = $key; ``` ### Frame 2: `/app/src/eshop/inc/TTabulka.php:456` ```php 451 | $param['observer'] = TableObserver::getDefaultKey(); 452 | } 453 | 454 | if (!empty($param['observer'])) { 455 | $param['observer'] = str_replace(TOP_DIR, '/var/eshopy/next/', $param['observer']); >>> 456 | $observer = TableObserver::getInstance(get_called_class(), $param['observer'] . ':' . crc32(implode(',', array_keys($param)))); 457 | $aliasy = isset(self::$config['alias']) ? self::$config['alias'] : []; 458 | $observer->setAliases($aliasy); 459 | $observerCache = $observer->getKeysTables(); 460 | $param['select'] = $observerCache['keys']; 461 | foreach ($aliasy as $key => $value) { ``` **Arguments:** - `$className`: 'CKategorie' - `$key`: 'Vypis_Kategorie_PresenterVypis_Kategorie_Presenter::createInstance:3318864259' ### Frame 3: `/app/src/eshop/w/presenter/Vypis/Kategorie.php:91` ```php 86 | } 87 | 88 | if (DI::getCurrentAdmin()->getEntity()) { 89 | $kategorie = CKategorie::zId($categoryId); 90 | } else { >>> 91 | $kategorie = CKategorie::zParametru(['id' => $categoryId, 'aktivni' => true, 'observer' => __CLASS__ . __METHOD__]); 92 | } 93 | if (!$kategorie) { 94 | throw new TemplateNotFoundException(); 95 | } 96 | ``` **Arguments:** - `$param`: array (4) 'id' => 467 'aktivni' => true 'observer' => 'Vypis_Kategorie_PresenterVypis_Kategorie_Presenter::createInstance' 'limit' => 1 ### Frame 4: `/app/src/eshop/inc/Presenter.php:235` ```php 230 | 231 | protected $initParam; 232 | protected $page = 1; 233 | 234 | final public static function getInstance(array $data = []) { >>> 235 | $c = static::createInstance($data); 236 | $c->initParam = $data; 237 | if (isset($data['page'])) { 238 | $c->page = $data['page']; 239 | } elseif (isset($data['strana'])) { 240 | $c->page = $data['strana']; ``` **Arguments:** - `$data`: array (1) 'url' => App\Entity\Url #1462 | id: 1476649 | type: App\Entity\UrlType::CATEGORY #1025 | | value: 2 | rel: 467 | path: '/mobilita/benzinova-vozidla/benzinove-motocykly/' | pathHash: stream resource @17 | | wrapper_type: 'PHP' | | stream_type: 'TEMP' | | mode: 'w+b' | | unread_bytes: 0 | | seekable: true | | uri: 'php://temp' | slugHash: stream resource @19 | | wrapper_type: 'PHP' | | stream_type: 'TEMP' | | mode: 'w+b' | | unread_bytes: 0 | | seekable: true | | uri: 'php://temp' | normalizedPathHash: stream resource @21 | | wrapper_type: 'PHP' | | stream_type: 'TEMP' | | mode: 'w+b' | | unread_bytes: 0 | | seekable: true | | uri: 'php://temp' | current: true | fixed: true | public: false | language: Proxies\__CG__\App\Entity\Language #1055 | | lazyObjectState: Symfony\Component\VarExporter\Internal\LazyObjectState #1058 | | | status: 1 | | | realInstance: unset | | | initializer: Closure($object) #1045 | | | | use: $initializer, $identifier | | | | | $initializer: Closure #1052 ... | | | | | $identifier: array (1) ... | | | skippedProperties: array (1) | | | | '\x00App\Entity\Language\x00id' => true | | id: 'cz' | date: DateTimeImmutable #1459 | | date: '2025-08-20 10:32:51.000000' | | timezone_type: 3 | | timezone: 'Europe/Prague' | typeLanguageRel: '02cz467' ### Frame 5: `inner-code:?` **Arguments:** - `$data`: array (1) 'url' => App\Entity\Url #1462 | id: 1476649 | type: App\Entity\UrlType::CATEGORY #1025 | | value: 2 | rel: 467 | path: '/mobilita/benzinova-vozidla/benzinove-motocykly/' | pathHash: stream resource @17 | | wrapper_type: 'PHP' | | stream_type: 'TEMP' | | mode: 'w+b' | | unread_bytes: 0 | | seekable: true | | uri: 'php://temp' | slugHash: stream resource @19 | | wrapper_type: 'PHP' | | stream_type: 'TEMP' | | mode: 'w+b' | | unread_bytes: 0 | | seekable: true | | uri: 'php://temp' | normalizedPathHash: stream resource @21 | | wrapper_type: 'PHP' | | stream_type: 'TEMP' | | mode: 'w+b' | | unread_bytes: 0 | | seekable: true | | uri: 'php://temp' | current: true | fixed: true | public: false | language: Proxies\__CG__\App\Entity\Language #1055 | | lazyObjectState: Symfony\Component\VarExporter\Internal\LazyObjectState #1058 | | | status: 1 | | | realInstance: unset | | | initializer: Closure($object) #1045 | | | | use: $initializer, $identifier | | | | | $initializer: Closure #1052 ... | | | | | $identifier: array (1) ... | | | skippedProperties: array (1) | | | | '\x00App\Entity\Language\x00id' => true | | id: 'cz' | date: DateTimeImmutable #1459 | | date: '2025-08-20 10:32:51.000000' | | timezone_type: 3 | | timezone: 'Europe/Prague' | typeLanguageRel: '02cz467' ### Frame 6: `/app/src/src/Model/MatchedPresenter.php:55` ```php 50 | } 51 | } else { 52 | throw new \TemplateNotFoundException("Šablona " . $presenter . " nexistuje"); 53 | } 54 | } >>> 55 | $this->instance = call_user_func_array( 56 | $this->presenterClass . '::getInstance', [array_merge($query, $this->data)] 57 | ); 58 | } 59 | 60 | return $this->instance; ``` **Arguments:** - `$callback`: 'Vypis_Kategorie_Presenter::getInstance' - `$args`: array (1) 0 => array (1) | 'url' => App\Entity\Url #1462 | | id: 1476649 | | type: App\Entity\UrlType::CATEGORY #1025 | | | value: 2 | | rel: 467 | | path: '/mobilita/benzinova-vozidla/benzinove-motocykly/' | | pathHash: stream resource @17 | | | wrapper_type: 'PHP' | | | stream_type: 'TEMP' | | | mode: 'w+b' | | | unread_bytes: 0 | | | seekable: true | | | uri: 'php://temp' | | slugHash: stream resource @19 | | | wrapper_type: 'PHP' | | | stream_type: 'TEMP' | | | mode: 'w+b' | | | unread_bytes: 0 | | | seekable: true | | | uri: 'php://temp' | | normalizedPathHash: stream resource @21 | | | wrapper_type: 'PHP' | | | stream_type: 'TEMP' | | | mode: 'w+b' | | | unread_bytes: 0 | | | seekable: true | | | uri: 'php://temp' | | current: true | | fixed: true | | public: false | | language: Proxies\__CG__\App\Entity\Language #1055 | | | lazyObjectState: Symfony\Component\VarExporter\Internal\LazyObjectState #1058 | | | | status: 1 | | | | realInstance: unset | | | | initializer: Closure #1045 ... | | | | skippedProperties: array (1) ... | | | id: 'cz' | | date: DateTimeImmutable #1459 | | | date: '2025-08-20 10:32:51.000000' | | | timezone_type: 3 | | | timezone: 'Europe/Prague' | | typeLanguageRel: '02cz467' ### Frame 7: `/app/src/eshop/inc/EshopPresenter.php:3387` ```php 3382 | ]); 3383 | if ($current) { 3384 | if ($matchedUrl->getType()->getPresenter()) { 3385 | $presenter = new \App\Model\MatchedPresenter($current->getType()->getPresenter(), Route::ACTION_DISPLAY_PAGE, ['url' => $current]); 3386 | try { >>> 3387 | $presenter->createInstance($_GET); 3388 | redirect($current->getPath(), true); 3389 | exit; 3390 | } catch (TemplateNotFoundException $exception) { 3391 | // continue 3392 | } ``` **Arguments:** - `$query`: array (0) ### Frame 8: `/app/src/eshop/inc/EshopPresenter.php:3473` ```php 3468 | } 3469 | } 3470 | 3471 | $presenter = self::getPresenterFromUrl(explode('?', $url)[0]); 3472 | if (!$presenter) { >>> 3473 | self::redirectPresenterFromUrl(explode('?', $url)[0]); 3474 | } 3475 | if ($presenter) { 3476 | return $presenter; 3477 | } 3478 | ``` **Arguments:** - `$url`: '/benzinova-vozidla/benzinove-motocykly/' ### Frame 9: `/app/src/eshop/w/index.php:124` ```php 119 | } else { 120 | $urlParsed = @parse_url($url); 121 | if ($urlParsed === false) { 122 | $matchedPresenter = null; 123 | } else { >>> 124 | $matchedPresenter = EshopPresenter::findPresenter($url, new \Nette\Http\Request(new \Nette\Http\UrlScript($_SERVER['REQUEST_URI']), null, null, null, null, $_SERVER['REQUEST_METHOD'], $_SERVER['REMOTE_ADDR'] ?? null)); 125 | } 126 | unset($urlParsed); 127 | } 128 | TimePanel::tick('presenter match end'); 129 | /** šablona nenalezena */ ``` **Arguments:** - `$url`: '/benzinova-vozidla/benzinove-motocykly/' - `$request`: Nette\Http\Request #854 method: 'GET' url: Nette\Http\UrlScript #857 | scriptPath: '/benzinova-vozidla/benzinove-motocykly/' | basePath: '/benzinova-vozidla/benzinove-motocykly/' | scheme: '' | user: '' | password: '' | host: '' | port: null | path: '/benzinova-vozidla/benzinove-motocykly/' | query: array (0) | fragment: '' | authority: '' post: array (0) files: array (0) cookies: array (0) headers: array (0) remoteAddress: '18.97.14.87' remoteHost: null rawBodyCallback: null ## HTTP Request **GET** `https://97dbcqxaqtc0-czhechtcz-tpltest.simpliashop.cz/benzinova-vozidla/benzinove-motocykly/` ### Headers | Header | Value | |--------|-------| | Accept-Encoding | 'br,gzip' | | If-Modified-Since | 'Sat, 18 Jan 2025 11:14:07 GMT' | | Accept-Language | 'en-US,en;q=0.5' | | Accept | 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' | | User-Agent | 'CCBot/2.0 (https://commoncrawl.org/faq/)' | | X-Amzn-Trace-Id | 'Root=1-698f2d7e-5ca398f36802b8e73e02e19d' | | Host | '97dbcqxaqtc0-czhechtcz-tpltest.simpliashop.cz' | | X-Forwarded-Port | '443' | | X-Forwarded-Proto | 'https' | | X-Forwarded-For | '18.97.14.87' | | Content-Length | '' | | Content-Type | '' | ### $_GET *empty* ### $_COOKIE *empty* ## Environment **PHP:** 8.3.30 | **SAPI:** fpm-fcgi | **Memory peak:** 12.2 MB ### Constants - `BLACKFIRE_EMBEDDED_CODE`: true - `STARTTIME`: 1770990974.587822 - `SENTRY_ENABLED`: 0 - `AMAZON`: 1 - `AWS_ECS_TASK_ARN`: 'arn:aws:ecs:eu-west-1:057748052866:task/fargate/dd6acd870d68499381c9ca9248ed7be2' - `CSP_NONCE`: 'b462a4e01aa762ea165cf8c8beb4e06a' - `SODIUM_CRYPTO_AEAD_AEGIS128L_KEYBYTES`: 16 - `SODIUM_CRYPTO_AEAD_AEGIS128L_NSECBYTES`: 0 - `SODIUM_CRYPTO_AEAD_AEGIS128L_NPUBBYTES`: 32 - `SODIUM_CRYPTO_AEAD_AEGIS128L_ABYTES`: 32 - `SODIUM_CRYPTO_AEAD_AEGIS256_KEYBYTES`: 32 - `SODIUM_CRYPTO_AEAD_AEGIS256_NSECBYTES`: 0 - `SODIUM_CRYPTO_AEAD_AEGIS256_NPUBBYTES`: 32 - `SODIUM_CRYPTO_AEAD_AEGIS256_ABYTES`: 32 - `CURL_HTTP_VERSION_3`: 30 - `CURL_HTTP_VERSION_3ONLY`: 31 - `HTMLPURIFIER_PREFIX`: '/app/src/vendor/ezyang/htmlpurifier/library' - `HOST`: '97dbcqxaqtc0-czhechtcz-tpltest.simpliashop.cz' - `TOP_DIR`: '/app/src/' - `ESHOP_DIR`: '/app/src/eshop/' - `ADMIN_DIR`: '/app/src/admin/' - `DATA`: 'hecht' - `SHOP`: 563 - `JAZYK`: 'cz' - `JAZYKDEF`: 'cz' - `LOCALE`: 'cs_CZ' - `ALIAS`: 1334 - `TARIF`: 1 - `CLIENT_PLAN`: 'default' - `LAYOUT_VZOR`: 'hecht' - `LAYOUT_TEST`: 1 - `PIWIK`: '' - `ALIAS_MENA`: 'CZK' - `MENADEF`: 'CZK' - `MAIN_HOST`: 'cz.hecht.cz' - `LAYOUT`: '97dbcqxaqtc0-czhechtcz' - `LAYOUT_UID`: null - `DEBUG`: 0 - `SROOT`: '/var/eshopy/' - `LAYOUT_DIR`: '/var/eshopy/tpltest/hecht/97dbcqxaqtc0-czhechtcz/' - `LAYOUT_DIR_SOURCE`: '/var/eshopy/tpltest/hecht/97dbcqxaqtc0-czhechtcz/' - `MASTERDB`: 0 - `DB_SERVER`: 'master' - `TWIG_DIR`: '/var/eshopy/cache/twig/' - `PHP_DIR`: '/var/eshopy/cache/php/563/' - `SYSTEM_DIR`: '/var/eshopy/cache/system/563/' - `DPH_LOW`: 12 - `DPH_HIGH`: 21 - `CRON`: 0 - `MENA`: 'CZK' - `ROOT`: '' - `NASTRANU`: '16' - `FRAZE`: '' ### $_SERVER (selected) | Key | Value | |-----|-------| | SERVER_SOFTWARE | 'nginx/1.24.0' | | SERVER_NAME | '97dbcqxaqtc0-czhechtcz-tpltest.simpliashop.cz' | | SERVER_ADDR | '172.31.18.225' | | SERVER_PORT | 443 | | DOCUMENT_ROOT | '/app/src/eshop' | | REQUEST_URI | '/benzinova-vozidla/benzinove-motocykly/' | | SCRIPT_FILENAME | '/app/src/eshop/w/index.php' | | REMOTE_ADDR | '18.97.14.87' | | REMOTE_PORT | '' | | SERVER_PROTOCOL | 'HTTP/1.1' | | REQUEST_METHOD | 'GET' | | QUERY_STRING | '' | | PHP_SELF | '/benzinova-vozidla/benzinove-motocykly/index.php' | | SCRIPT_NAME | '/benzinova-vozidla/benzinove-motocykly/index.php' | --- Report generated at 2026/02/13 14:56:14 # Symfony\Component\Finder\Exception\DirectoryNotFoundException **The "/var/eshopy/tpltest/hecht/97dbcqxaqtc0-czhechtcz/" directory does not exist.** ## Source File **File:** `/app/src/vendor/symfony/finder/Finder.php:648` ```php 638 | { 639 | $resolvedDirs = []; 640 | 641 | foreach ((array) $dirs as $dir) { 642 | if (is_dir($dir)) { 643 | $resolvedDirs[] = [$this->normalizeDir($dir)]; 644 | } elseif ($glob = glob($dir, (\defined('GLOB_BRACE') ? \GLOB_BRACE : 0) | \GLOB_ONLYDIR | \GLOB_NOSORT)) { 645 | sort($glob); 646 | $resolvedDirs[] = array_map($this->normalizeDir(...), $glob); 647 | } else { >>> 648 | throw new DirectoryNotFoundException(\sprintf('The "%s" directory does not exist.', $dir)); 649 | } 650 | } 651 | 652 | $this->dirs = array_merge($this->dirs, ...$resolvedDirs); 653 | 654 | return $this; 655 | } 656 | 657 | /** 658 | * Returns an Iterator for the current Finder configuration. ``` ## Call Stack | # | File | Call | |---|------|------| | 0 | `/app/src/src/Template/Config/TemplateConfigHandler.php:128` | Symfony\Component\Finder\Finder::**in**(...) | | 1 | `/app/src/eshop/inc/TableObserver.php:133` | App\Template\Config\TemplateConfigHandler::**getTemplateVersion**() | | 2 | `/app/src/eshop/inc/TTabulka.php:456` | TableObserver::**getInstance**(...) | | 3 | `/app/src/eshop/w/presenter/Vypis/Kategorie.php:91` | CKategorie::**zParametru**(...) | | 4 | `/app/src/eshop/inc/Presenter.php:235` | Vypis_Kategorie_Presenter::**createInstance**(...) | | 5 | *inner-code* | Presenter::**getInstance**(...) | | 6 | `/app/src/src/Model/MatchedPresenter.php:55` | **call_user_func_array**(...) | | 7 | `/app/src/eshop/inc/EshopPresenter.php:3387` | App\Model\MatchedPresenter::**createInstance**(...) | | 8 | `/app/src/eshop/inc/EshopPresenter.php:3473` | EshopPresenter::**redirectPresenterFromUrl**(...) | | 9 | `/app/src/eshop/w/index.php:124` | EshopPresenter::**findPresenter**(...) | ### Frame 0: `/app/src/src/Template/Config/TemplateConfigHandler.php:128` ```php 123 | if ($this->templateVersion) { 124 | return $this->templateVersion; 125 | } 126 | if ($this->aliasConfig->isTplTest()) { 127 | $hash = []; >>> 128 | foreach (Finder::create()->in(LAYOUT_DIR)->exclude('images')->exclude('.git')->exclude('.idea')->name('*.tpl')->name('*.css')->name('*.js')->name('*.scss')->name('*.json')->name('*.xml')->files()->getIterator() as $file) { 129 | $hash[] = md5_file($file->getRealPath()); 130 | } 131 | 132 | return $this->templateVersion = md5(implode(',', $hash)); 133 | } ``` **Arguments:** - `$dirs`: '/var/eshopy/tpltest/hecht/97dbcqxaqtc0-czhechtcz/' ### Frame 1: `/app/src/eshop/inc/TableObserver.php:133` ```php 128 | * @return TableObserver 129 | */ 130 | public static function getInstance($className, $key) { 131 | $cache_key = $className . "_" . $key . "_" . self::getVersion(); 132 | if (\DI::getAliasConfig()->isLegacyOutputFrontEnd()) { >>> 133 | $cache_key .= '_' . DI::getTemplateConfigHandler()->getTemplateVersion(); 134 | } 135 | if (!isset(static::$inst[$cache_key])) { 136 | static::$inst[$cache_key] = new static(); 137 | static::$inst[$cache_key]->cachekey = $cache_key; 138 | static::$inst[$cache_key]->key = $key; ``` ### Frame 2: `/app/src/eshop/inc/TTabulka.php:456` ```php 451 | $param['observer'] = TableObserver::getDefaultKey(); 452 | } 453 | 454 | if (!empty($param['observer'])) { 455 | $param['observer'] = str_replace(TOP_DIR, '/var/eshopy/next/', $param['observer']); >>> 456 | $observer = TableObserver::getInstance(get_called_class(), $param['observer'] . ':' . crc32(implode(',', array_keys($param)))); 457 | $aliasy = isset(self::$config['alias']) ? self::$config['alias'] : []; 458 | $observer->setAliases($aliasy); 459 | $observerCache = $observer->getKeysTables(); 460 | $param['select'] = $observerCache['keys']; 461 | foreach ($aliasy as $key => $value) { ``` **Arguments:** - `$className`: 'CKategorie' - `$key`: 'Vypis_Kategorie_PresenterVypis_Kategorie_Presenter::createInstance:3318864259' ### Frame 3: `/app/src/eshop/w/presenter/Vypis/Kategorie.php:91` ```php 86 | } 87 | 88 | if (DI::getCurrentAdmin()->getEntity()) { 89 | $kategorie = CKategorie::zId($categoryId); 90 | } else { >>> 91 | $kategorie = CKategorie::zParametru(['id' => $categoryId, 'aktivni' => true, 'observer' => __CLASS__ . __METHOD__]); 92 | } 93 | if (!$kategorie) { 94 | throw new TemplateNotFoundException(); 95 | } 96 | ``` **Arguments:** - `$param`: array (4) 'id' => 467 'aktivni' => true 'observer' => 'Vypis_Kategorie_PresenterVypis_Kategorie_Presenter::createInstance' 'limit' => 1 ### Frame 4: `/app/src/eshop/inc/Presenter.php:235` ```php 230 | 231 | protected $initParam; 232 | protected $page = 1; 233 | 234 | final public static function getInstance(array $data = []) { >>> 235 | $c = static::createInstance($data); 236 | $c->initParam = $data; 237 | if (isset($data['page'])) { 238 | $c->page = $data['page']; 239 | } elseif (isset($data['strana'])) { 240 | $c->page = $data['strana']; ``` **Arguments:** - `$data`: array (1) 'url' => App\Entity\Url #1462 | id: 1476649 | type: App\Entity\UrlType::CATEGORY #1025 | | value: 2 | rel: 467 | path: '/mobilita/benzinova-vozidla/benzinove-motocykly/' | pathHash: stream resource @17 | | wrapper_type: 'PHP' | | stream_type: 'TEMP' | | mode: 'w+b' | | unread_bytes: 0 | | seekable: true | | uri: 'php://temp' | slugHash: stream resource @19 | | wrapper_type: 'PHP' | | stream_type: 'TEMP' | | mode: 'w+b' | | unread_bytes: 0 | | seekable: true | | uri: 'php://temp' | normalizedPathHash: stream resource @21 | | wrapper_type: 'PHP' | | stream_type: 'TEMP' | | mode: 'w+b' | | unread_bytes: 0 | | seekable: true | | uri: 'php://temp' | current: true | fixed: true | public: false | language: Proxies\__CG__\App\Entity\Language #1055 | | lazyObjectState: Symfony\Component\VarExporter\Internal\LazyObjectState #1058 | | | status: 1 | | | realInstance: unset | | | initializer: Closure($object) #1045 | | | | use: $initializer, $identifier | | | | | $initializer: Closure #1052 ... | | | | | $identifier: array (1) ... | | | skippedProperties: array (1) | | | | '\x00App\Entity\Language\x00id' => true | | id: 'cz' | date: DateTimeImmutable #1459 | | date: '2025-08-20 10:32:51.000000' | | timezone_type: 3 | | timezone: 'Europe/Prague' | typeLanguageRel: '02cz467' ### Frame 5: `inner-code:?` **Arguments:** - `$data`: array (1) 'url' => App\Entity\Url #1462 | id: 1476649 | type: App\Entity\UrlType::CATEGORY #1025 | | value: 2 | rel: 467 | path: '/mobilita/benzinova-vozidla/benzinove-motocykly/' | pathHash: stream resource @17 | | wrapper_type: 'PHP' | | stream_type: 'TEMP' | | mode: 'w+b' | | unread_bytes: 0 | | seekable: true | | uri: 'php://temp' | slugHash: stream resource @19 | | wrapper_type: 'PHP' | | stream_type: 'TEMP' | | mode: 'w+b' | | unread_bytes: 0 | | seekable: true | | uri: 'php://temp' | normalizedPathHash: stream resource @21 | | wrapper_type: 'PHP' | | stream_type: 'TEMP' | | mode: 'w+b' | | unread_bytes: 0 | | seekable: true | | uri: 'php://temp' | current: true | fixed: true | public: false | language: Proxies\__CG__\App\Entity\Language #1055 | | lazyObjectState: Symfony\Component\VarExporter\Internal\LazyObjectState #1058 | | | status: 1 | | | realInstance: unset | | | initializer: Closure($object) #1045 | | | | use: $initializer, $identifier | | | | | $initializer: Closure #1052 ... | | | | | $identifier: array (1) ... | | | skippedProperties: array (1) | | | | '\x00App\Entity\Language\x00id' => true | | id: 'cz' | date: DateTimeImmutable #1459 | | date: '2025-08-20 10:32:51.000000' | | timezone_type: 3 | | timezone: 'Europe/Prague' | typeLanguageRel: '02cz467' ### Frame 6: `/app/src/src/Model/MatchedPresenter.php:55` ```php 50 | } 51 | } else { 52 | throw new \TemplateNotFoundException("Šablona " . $presenter . " nexistuje"); 53 | } 54 | } >>> 55 | $this->instance = call_user_func_array( 56 | $this->presenterClass . '::getInstance', [array_merge($query, $this->data)] 57 | ); 58 | } 59 | 60 | return $this->instance; ``` **Arguments:** - `$callback`: 'Vypis_Kategorie_Presenter::getInstance' - `$args`: array (1) 0 => array (1) | 'url' => App\Entity\Url #1462 | | id: 1476649 | | type: App\Entity\UrlType::CATEGORY #1025 | | | value: 2 | | rel: 467 | | path: '/mobilita/benzinova-vozidla/benzinove-motocykly/' | | pathHash: stream resource @17 | | | wrapper_type: 'PHP' | | | stream_type: 'TEMP' | | | mode: 'w+b' | | | unread_bytes: 0 | | | seekable: true | | | uri: 'php://temp' | | slugHash: stream resource @19 | | | wrapper_type: 'PHP' | | | stream_type: 'TEMP' | | | mode: 'w+b' | | | unread_bytes: 0 | | | seekable: true | | | uri: 'php://temp' | | normalizedPathHash: stream resource @21 | | | wrapper_type: 'PHP' | | | stream_type: 'TEMP' | | | mode: 'w+b' | | | unread_bytes: 0 | | | seekable: true | | | uri: 'php://temp' | | current: true | | fixed: true | | public: false | | language: Proxies\__CG__\App\Entity\Language #1055 | | | lazyObjectState: Symfony\Component\VarExporter\Internal\LazyObjectState #1058 | | | | status: 1 | | | | realInstance: unset | | | | initializer: Closure #1045 ... | | | | skippedProperties: array (1) ... | | | id: 'cz' | | date: DateTimeImmutable #1459 | | | date: '2025-08-20 10:32:51.000000' | | | timezone_type: 3 | | | timezone: 'Europe/Prague' | | typeLanguageRel: '02cz467' ### Frame 7: `/app/src/eshop/inc/EshopPresenter.php:3387` ```php 3382 | ]); 3383 | if ($current) { 3384 | if ($matchedUrl->getType()->getPresenter()) { 3385 | $presenter = new \App\Model\MatchedPresenter($current->getType()->getPresenter(), Route::ACTION_DISPLAY_PAGE, ['url' => $current]); 3386 | try { >>> 3387 | $presenter->createInstance($_GET); 3388 | redirect($current->getPath(), true); 3389 | exit; 3390 | } catch (TemplateNotFoundException $exception) { 3391 | // continue 3392 | } ``` **Arguments:** - `$query`: array (0) ### Frame 8: `/app/src/eshop/inc/EshopPresenter.php:3473` ```php 3468 | } 3469 | } 3470 | 3471 | $presenter = self::getPresenterFromUrl(explode('?', $url)[0]); 3472 | if (!$presenter) { >>> 3473 | self::redirectPresenterFromUrl(explode('?', $url)[0]); 3474 | } 3475 | if ($presenter) { 3476 | return $presenter; 3477 | } 3478 | ``` **Arguments:** - `$url`: '/benzinova-vozidla/benzinove-motocykly/' ### Frame 9: `/app/src/eshop/w/index.php:124` ```php 119 | } else { 120 | $urlParsed = @parse_url($url); 121 | if ($urlParsed === false) { 122 | $matchedPresenter = null; 123 | } else { >>> 124 | $matchedPresenter = EshopPresenter::findPresenter($url, new \Nette\Http\Request(new \Nette\Http\UrlScript($_SERVER['REQUEST_URI']), null, null, null, null, $_SERVER['REQUEST_METHOD'], $_SERVER['REMOTE_ADDR'] ?? null)); 125 | } 126 | unset($urlParsed); 127 | } 128 | TimePanel::tick('presenter match end'); 129 | /** šablona nenalezena */ ``` **Arguments:** - `$url`: '/benzinova-vozidla/benzinove-motocykly/' - `$request`: Nette\Http\Request #854 method: 'GET' url: Nette\Http\UrlScript #857 | scriptPath: '/benzinova-vozidla/benzinove-motocykly/' | basePath: '/benzinova-vozidla/benzinove-motocykly/' | scheme: '' | user: '' | password: '' | host: '' | port: null | path: '/benzinova-vozidla/benzinove-motocykly/' | query: array (0) | fragment: '' | authority: '' post: array (0) files: array (0) cookies: array (0) headers: array (0) remoteAddress: '18.97.14.87' remoteHost: null rawBodyCallback: null ## HTTP Request **GET** `https://97dbcqxaqtc0-czhechtcz-tpltest.simpliashop.cz/benzinova-vozidla/benzinove-motocykly/` ### Headers | Header | Value | |--------|-------| | Accept-Encoding | 'br,gzip' | | If-Modified-Since | 'Sat, 18 Jan 2025 11:14:07 GMT' | | Accept-Language | 'en-US,en;q=0.5' | | Accept | 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' | | User-Agent | 'CCBot/2.0 (https://commoncrawl.org/faq/)' | | X-Amzn-Trace-Id | 'Root=1-698f2d7e-5ca398f36802b8e73e02e19d' | | Host | '97dbcqxaqtc0-czhechtcz-tpltest.simpliashop.cz' | | X-Forwarded-Port | '443' | | X-Forwarded-Proto | 'https' | | X-Forwarded-For | '18.97.14.87' | | Content-Length | '' | | Content-Type | '' | ### $_GET *empty* ### $_COOKIE *empty* ## Environment **PHP:** 8.3.30 | **SAPI:** fpm-fcgi | **Memory peak:** 12.2 MB ### Constants - `BLACKFIRE_EMBEDDED_CODE`: true - `STARTTIME`: 1770990974.587822 - `SENTRY_ENABLED`: 0 - `AMAZON`: 1 - `AWS_ECS_TASK_ARN`: 'arn:aws:ecs:eu-west-1:057748052866:task/fargate/dd6acd870d68499381c9ca9248ed7be2' - `CSP_NONCE`: 'b462a4e01aa762ea165cf8c8beb4e06a' - `SODIUM_CRYPTO_AEAD_AEGIS128L_KEYBYTES`: 16 - `SODIUM_CRYPTO_AEAD_AEGIS128L_NSECBYTES`: 0 - `SODIUM_CRYPTO_AEAD_AEGIS128L_NPUBBYTES`: 32 - `SODIUM_CRYPTO_AEAD_AEGIS128L_ABYTES`: 32 - `SODIUM_CRYPTO_AEAD_AEGIS256_KEYBYTES`: 32 - `SODIUM_CRYPTO_AEAD_AEGIS256_NSECBYTES`: 0 - `SODIUM_CRYPTO_AEAD_AEGIS256_NPUBBYTES`: 32 - `SODIUM_CRYPTO_AEAD_AEGIS256_ABYTES`: 32 - `CURL_HTTP_VERSION_3`: 30 - `CURL_HTTP_VERSION_3ONLY`: 31 - `HTMLPURIFIER_PREFIX`: '/app/src/vendor/ezyang/htmlpurifier/library' - `HOST`: '97dbcqxaqtc0-czhechtcz-tpltest.simpliashop.cz' - `TOP_DIR`: '/app/src/' - `ESHOP_DIR`: '/app/src/eshop/' - `ADMIN_DIR`: '/app/src/admin/' - `DATA`: 'hecht' - `SHOP`: 563 - `JAZYK`: 'cz' - `JAZYKDEF`: 'cz' - `LOCALE`: 'cs_CZ' - `ALIAS`: 1334 - `TARIF`: 1 - `CLIENT_PLAN`: 'default' - `LAYOUT_VZOR`: 'hecht' - `LAYOUT_TEST`: 1 - `PIWIK`: '' - `ALIAS_MENA`: 'CZK' - `MENADEF`: 'CZK' - `MAIN_HOST`: 'cz.hecht.cz' - `LAYOUT`: '97dbcqxaqtc0-czhechtcz' - `LAYOUT_UID`: null - `DEBUG`: 0 - `SROOT`: '/var/eshopy/' - `LAYOUT_DIR`: '/var/eshopy/tpltest/hecht/97dbcqxaqtc0-czhechtcz/' - `LAYOUT_DIR_SOURCE`: '/var/eshopy/tpltest/hecht/97dbcqxaqtc0-czhechtcz/' - `MASTERDB`: 0 - `DB_SERVER`: 'master' - `TWIG_DIR`: '/var/eshopy/cache/twig/' - `PHP_DIR`: '/var/eshopy/cache/php/563/' - `SYSTEM_DIR`: '/var/eshopy/cache/system/563/' - `DPH_LOW`: 12 - `DPH_HIGH`: 21 - `CRON`: 0 - `MENA`: 'CZK' - `ROOT`: '' - `NASTRANU`: '16' - `FRAZE`: '' ### $_SERVER (selected) | Key | Value | |-----|-------| | SERVER_SOFTWARE | 'nginx/1.24.0' | | SERVER_NAME | '97dbcqxaqtc0-czhechtcz-tpltest.simpliashop.cz' | | SERVER_ADDR | '172.31.18.225' | | SERVER_PORT | 443 | | DOCUMENT_ROOT | '/app/src/eshop' | | REQUEST_URI | '/benzinova-vozidla/benzinove-motocykly/' | | SCRIPT_FILENAME | '/app/src/eshop/w/index.php' | | REMOTE_ADDR | '18.97.14.87' | | REMOTE_PORT | '' | | SERVER_PROTOCOL | 'HTTP/1.1' | | REQUEST_METHOD | 'GET' | | QUERY_STRING | '' | | PHP_SELF | '/benzinova-vozidla/benzinove-motocykly/index.php' | | SCRIPT_NAME | '/benzinova-vozidla/benzinove-motocykly/index.php' | --- Report generated at 2026/02/13 14:56:14 Server Error

Server Error

We're sorry! The server encountered an internal error and was unable to complete your request. Please try again later.

error 500 | 13. 2. 2026 14:56