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/Stranka/Detail.php:22` | CStranka::**zParametru**(...) | | 4 | `/app/src/eshop/inc/Presenter.php:235` | Stranka_Detail_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:3436` | 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`: 'CStranka' - `$key`: 'Stranka_Detail_PresenterStranka_Detail_Presenter::createInstance:3318864259' ### Frame 3: `/app/src/eshop/w/presenter/Stranka/Detail.php:22` ```php 17 | $url = $data['url'] ?? null; 18 | if (!($url instanceof \App\Entity\Url)) { 19 | throw new RuntimeException('Expected Url entity'); 20 | } 21 | >>> 22 | $stranka = CStranka::zParametru(['id' => $url->getRel(), 'aktivni' => true, 'observer' => __CLASS__ . __METHOD__]); 23 | if (!$stranka) { 24 | throw new TemplateNotFoundException(); 25 | } 26 | 27 | DI::getRecommendationEventCollector()->addEvent(\App\Model\Newsletter\Segment\SegmentType::VIEW_TEXT_PAGE, $stranka->id); ``` **Arguments:** - `$param`: array (4) 'id' => 17 'aktivni' => true 'observer' => 'Stranka_Detail_PresenterStranka_Detail_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 #1041 | id: 390 | type: App\Entity\UrlType::TEXT_PAGE #1034 | | value: 7 | rel: 17 | path: '/info/platba-a-doprava-zbozi' | pathHash: stream resource @11 | | wrapper_type: 'PHP' | | stream_type: 'TEMP' | | mode: 'w+b' | | unread_bytes: 0 | | seekable: true | | uri: 'php://temp' | slugHash: stream resource @13 | | wrapper_type: 'PHP' | | stream_type: 'TEMP' | | mode: 'w+b' | | unread_bytes: 0 | | seekable: true | | uri: 'php://temp' | normalizedPathHash: stream resource @15 | | wrapper_type: 'PHP' | | stream_type: 'TEMP' | | mode: 'w+b' | | unread_bytes: 0 | | seekable: true | | uri: 'php://temp' | current: true | fixed: false | public: false | language: Proxies\__CG__\App\Entity\Language #1053 | | lazyObjectState: Symfony\Component\VarExporter\Internal\LazyObjectState #1056 | | | status: 1 | | | realInstance: unset | | | initializer: Closure($object) #1043 | | | | use: $initializer, $identifier | | | | | $initializer: Closure #1050 ... | | | | | $identifier: array (1) ... | | | skippedProperties: array (1) | | | | '\x00App\Entity\Language\x00id' => true | | id: 'cz' | date: DateTimeImmutable #1039 | | date: '2019-04-04 14:57:30.000000' | | timezone_type: 3 | | timezone: 'Europe/Prague' | typeLanguageRel: '07cz17' ### Frame 5: `inner-code:?` **Arguments:** - `$data`: array (1) 'url' => App\Entity\Url #1041 | id: 390 | type: App\Entity\UrlType::TEXT_PAGE #1034 | | value: 7 | rel: 17 | path: '/info/platba-a-doprava-zbozi' | pathHash: stream resource @11 | | wrapper_type: 'PHP' | | stream_type: 'TEMP' | | mode: 'w+b' | | unread_bytes: 0 | | seekable: true | | uri: 'php://temp' | slugHash: stream resource @13 | | wrapper_type: 'PHP' | | stream_type: 'TEMP' | | mode: 'w+b' | | unread_bytes: 0 | | seekable: true | | uri: 'php://temp' | normalizedPathHash: stream resource @15 | | wrapper_type: 'PHP' | | stream_type: 'TEMP' | | mode: 'w+b' | | unread_bytes: 0 | | seekable: true | | uri: 'php://temp' | current: true | fixed: false | public: false | language: Proxies\__CG__\App\Entity\Language #1053 | | lazyObjectState: Symfony\Component\VarExporter\Internal\LazyObjectState #1056 | | | status: 1 | | | realInstance: unset | | | initializer: Closure($object) #1043 | | | | use: $initializer, $identifier | | | | | $initializer: Closure #1050 ... | | | | | $identifier: array (1) ... | | | skippedProperties: array (1) | | | | '\x00App\Entity\Language\x00id' => true | | id: 'cz' | date: DateTimeImmutable #1039 | | date: '2019-04-04 14:57:30.000000' | | timezone_type: 3 | | timezone: 'Europe/Prague' | typeLanguageRel: '07cz17' ### 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`: 'Stranka_Detail_Presenter::getInstance' - `$args`: array (1) 0 => array (1) | 'url' => App\Entity\Url #1041 | | id: 390 | | type: App\Entity\UrlType::TEXT_PAGE #1034 | | | value: 7 | | rel: 17 | | path: '/info/platba-a-doprava-zbozi' | | pathHash: stream resource @11 | | | wrapper_type: 'PHP' | | | stream_type: 'TEMP' | | | mode: 'w+b' | | | unread_bytes: 0 | | | seekable: true | | | uri: 'php://temp' | | slugHash: stream resource @13 | | | wrapper_type: 'PHP' | | | stream_type: 'TEMP' | | | mode: 'w+b' | | | unread_bytes: 0 | | | seekable: true | | | uri: 'php://temp' | | normalizedPathHash: stream resource @15 | | | wrapper_type: 'PHP' | | | stream_type: 'TEMP' | | | mode: 'w+b' | | | unread_bytes: 0 | | | seekable: true | | | uri: 'php://temp' | | current: true | | fixed: false | | public: false | | language: Proxies\__CG__\App\Entity\Language #1053 | | | lazyObjectState: Symfony\Component\VarExporter\Internal\LazyObjectState #1056 | | | | status: 1 | | | | realInstance: unset | | | | initializer: Closure #1043 ... | | | | skippedProperties: array (1) ... | | | id: 'cz' | | date: DateTimeImmutable #1039 | | | date: '2019-04-04 14:57:30.000000' | | | timezone_type: 3 | | | timezone: 'Europe/Prague' | | typeLanguageRel: '07cz17' ### Frame 7: `/app/src/eshop/inc/EshopPresenter.php:3436` ```php 3431 | } 3432 | } 3433 | if ($matchedUrl->getType()->getPresenter()) { 3434 | $presenter = new \App\Model\MatchedPresenter($matchedUrl->getType()->getPresenter(), Route::ACTION_DISPLAY_PAGE, ['url' => $matchedUrl]); 3435 | try { >>> 3436 | $presenter->createInstance($_GET); 3437 | redirect($matchedUrl->getPath(), true); 3438 | exit; 3439 | } catch (TemplateNotFoundException $exception) { 3440 | // continue 3441 | } ``` **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`: '/info/platba-a-doprava-zbozi/' ### 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`: '/info/platba-a-doprava-zbozi/' - `$request`: Nette\Http\Request #854 method: 'GET' url: Nette\Http\UrlScript #857 | scriptPath: '/info/platba-a-doprava-zbozi/' | basePath: '/info/platba-a-doprava-zbozi/' | scheme: '' | user: '' | password: '' | host: '' | port: null | path: '/info/platba-a-doprava-zbozi/' | 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/info/platba-a-doprava-zbozi/` ### Headers | Header | Value | |--------|-------| | Accept-Encoding | 'br,gzip' | | If-Modified-Since | 'Mon, 20 Jan 2025 19:29:53 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-698f2c22-0a6e443f640ffc1e1e2be4da' | | 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.1 MB ### Constants - `BLACKFIRE_EMBEDDED_CODE`: true - `STARTTIME`: 1770990626.92571 - `SENTRY_ENABLED`: 0 - `AMAZON`: 1 - `AWS_ECS_TASK_ARN`: 'arn:aws:ecs:eu-west-1:057748052866:task/fargate/6f0dfaa86a9e49c1840dfbad4c96bd96' - `CSP_NONCE`: '36da611654e2275ca735c7c969a6db7e' - `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.33.49' | | SERVER_PORT | 443 | | DOCUMENT_ROOT | '/app/src/eshop' | | REQUEST_URI | '/info/platba-a-doprava-zbozi/' | | 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 | '/info/platba-a-doprava-zbozi/index.php' | | SCRIPT_NAME | '/info/platba-a-doprava-zbozi/index.php' | --- Report generated at 2026/02/13 14:50:27 # 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/Stranka/Detail.php:22` | CStranka::**zParametru**(...) | | 4 | `/app/src/eshop/inc/Presenter.php:235` | Stranka_Detail_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:3436` | 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`: 'CStranka' - `$key`: 'Stranka_Detail_PresenterStranka_Detail_Presenter::createInstance:3318864259' ### Frame 3: `/app/src/eshop/w/presenter/Stranka/Detail.php:22` ```php 17 | $url = $data['url'] ?? null; 18 | if (!($url instanceof \App\Entity\Url)) { 19 | throw new RuntimeException('Expected Url entity'); 20 | } 21 | >>> 22 | $stranka = CStranka::zParametru(['id' => $url->getRel(), 'aktivni' => true, 'observer' => __CLASS__ . __METHOD__]); 23 | if (!$stranka) { 24 | throw new TemplateNotFoundException(); 25 | } 26 | 27 | DI::getRecommendationEventCollector()->addEvent(\App\Model\Newsletter\Segment\SegmentType::VIEW_TEXT_PAGE, $stranka->id); ``` **Arguments:** - `$param`: array (4) 'id' => 17 'aktivni' => true 'observer' => 'Stranka_Detail_PresenterStranka_Detail_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 #1041 | id: 390 | type: App\Entity\UrlType::TEXT_PAGE #1034 | | value: 7 | rel: 17 | path: '/info/platba-a-doprava-zbozi' | pathHash: stream resource @11 | | wrapper_type: 'PHP' | | stream_type: 'TEMP' | | mode: 'w+b' | | unread_bytes: 0 | | seekable: true | | uri: 'php://temp' | slugHash: stream resource @13 | | wrapper_type: 'PHP' | | stream_type: 'TEMP' | | mode: 'w+b' | | unread_bytes: 0 | | seekable: true | | uri: 'php://temp' | normalizedPathHash: stream resource @15 | | wrapper_type: 'PHP' | | stream_type: 'TEMP' | | mode: 'w+b' | | unread_bytes: 0 | | seekable: true | | uri: 'php://temp' | current: true | fixed: false | public: false | language: Proxies\__CG__\App\Entity\Language #1053 | | lazyObjectState: Symfony\Component\VarExporter\Internal\LazyObjectState #1056 | | | status: 1 | | | realInstance: unset | | | initializer: Closure($object) #1043 | | | | use: $initializer, $identifier | | | | | $initializer: Closure #1050 ... | | | | | $identifier: array (1) ... | | | skippedProperties: array (1) | | | | '\x00App\Entity\Language\x00id' => true | | id: 'cz' | date: DateTimeImmutable #1039 | | date: '2019-04-04 14:57:30.000000' | | timezone_type: 3 | | timezone: 'Europe/Prague' | typeLanguageRel: '07cz17' ### Frame 5: `inner-code:?` **Arguments:** - `$data`: array (1) 'url' => App\Entity\Url #1041 | id: 390 | type: App\Entity\UrlType::TEXT_PAGE #1034 | | value: 7 | rel: 17 | path: '/info/platba-a-doprava-zbozi' | pathHash: stream resource @11 | | wrapper_type: 'PHP' | | stream_type: 'TEMP' | | mode: 'w+b' | | unread_bytes: 0 | | seekable: true | | uri: 'php://temp' | slugHash: stream resource @13 | | wrapper_type: 'PHP' | | stream_type: 'TEMP' | | mode: 'w+b' | | unread_bytes: 0 | | seekable: true | | uri: 'php://temp' | normalizedPathHash: stream resource @15 | | wrapper_type: 'PHP' | | stream_type: 'TEMP' | | mode: 'w+b' | | unread_bytes: 0 | | seekable: true | | uri: 'php://temp' | current: true | fixed: false | public: false | language: Proxies\__CG__\App\Entity\Language #1053 | | lazyObjectState: Symfony\Component\VarExporter\Internal\LazyObjectState #1056 | | | status: 1 | | | realInstance: unset | | | initializer: Closure($object) #1043 | | | | use: $initializer, $identifier | | | | | $initializer: Closure #1050 ... | | | | | $identifier: array (1) ... | | | skippedProperties: array (1) | | | | '\x00App\Entity\Language\x00id' => true | | id: 'cz' | date: DateTimeImmutable #1039 | | date: '2019-04-04 14:57:30.000000' | | timezone_type: 3 | | timezone: 'Europe/Prague' | typeLanguageRel: '07cz17' ### 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`: 'Stranka_Detail_Presenter::getInstance' - `$args`: array (1) 0 => array (1) | 'url' => App\Entity\Url #1041 | | id: 390 | | type: App\Entity\UrlType::TEXT_PAGE #1034 | | | value: 7 | | rel: 17 | | path: '/info/platba-a-doprava-zbozi' | | pathHash: stream resource @11 | | | wrapper_type: 'PHP' | | | stream_type: 'TEMP' | | | mode: 'w+b' | | | unread_bytes: 0 | | | seekable: true | | | uri: 'php://temp' | | slugHash: stream resource @13 | | | wrapper_type: 'PHP' | | | stream_type: 'TEMP' | | | mode: 'w+b' | | | unread_bytes: 0 | | | seekable: true | | | uri: 'php://temp' | | normalizedPathHash: stream resource @15 | | | wrapper_type: 'PHP' | | | stream_type: 'TEMP' | | | mode: 'w+b' | | | unread_bytes: 0 | | | seekable: true | | | uri: 'php://temp' | | current: true | | fixed: false | | public: false | | language: Proxies\__CG__\App\Entity\Language #1053 | | | lazyObjectState: Symfony\Component\VarExporter\Internal\LazyObjectState #1056 | | | | status: 1 | | | | realInstance: unset | | | | initializer: Closure #1043 ... | | | | skippedProperties: array (1) ... | | | id: 'cz' | | date: DateTimeImmutable #1039 | | | date: '2019-04-04 14:57:30.000000' | | | timezone_type: 3 | | | timezone: 'Europe/Prague' | | typeLanguageRel: '07cz17' ### Frame 7: `/app/src/eshop/inc/EshopPresenter.php:3436` ```php 3431 | } 3432 | } 3433 | if ($matchedUrl->getType()->getPresenter()) { 3434 | $presenter = new \App\Model\MatchedPresenter($matchedUrl->getType()->getPresenter(), Route::ACTION_DISPLAY_PAGE, ['url' => $matchedUrl]); 3435 | try { >>> 3436 | $presenter->createInstance($_GET); 3437 | redirect($matchedUrl->getPath(), true); 3438 | exit; 3439 | } catch (TemplateNotFoundException $exception) { 3440 | // continue 3441 | } ``` **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`: '/info/platba-a-doprava-zbozi/' ### 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`: '/info/platba-a-doprava-zbozi/' - `$request`: Nette\Http\Request #854 method: 'GET' url: Nette\Http\UrlScript #857 | scriptPath: '/info/platba-a-doprava-zbozi/' | basePath: '/info/platba-a-doprava-zbozi/' | scheme: '' | user: '' | password: '' | host: '' | port: null | path: '/info/platba-a-doprava-zbozi/' | 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/info/platba-a-doprava-zbozi/` ### Headers | Header | Value | |--------|-------| | Accept-Encoding | 'br,gzip' | | If-Modified-Since | 'Mon, 20 Jan 2025 19:29:53 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-698f2c22-0a6e443f640ffc1e1e2be4da' | | 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.1 MB ### Constants - `BLACKFIRE_EMBEDDED_CODE`: true - `STARTTIME`: 1770990626.92571 - `SENTRY_ENABLED`: 0 - `AMAZON`: 1 - `AWS_ECS_TASK_ARN`: 'arn:aws:ecs:eu-west-1:057748052866:task/fargate/6f0dfaa86a9e49c1840dfbad4c96bd96' - `CSP_NONCE`: '36da611654e2275ca735c7c969a6db7e' - `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.33.49' | | SERVER_PORT | 443 | | DOCUMENT_ROOT | '/app/src/eshop' | | REQUEST_URI | '/info/platba-a-doprava-zbozi/' | | 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 | '/info/platba-a-doprava-zbozi/index.php' | | SCRIPT_NAME | '/info/platba-a-doprava-zbozi/index.php' | --- Report generated at 2026/02/13 14:50:27 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:50