Nette\MemberAccessException
File: .../vendor/nette/database/src/Database/Table/ActiveRow.php:287
277: } 278: 279: $referenced = $this->table->getReferencedTable($this, $key); 280: if ($referenced !== false) { 281: $this->accessColumn($key, false); 282: return $referenced; 283: } 284: 285: $this->removeAccessColumn($key); 286: $hint = Nette\Utils\Helpers::getSuggestion(array_keys($this->data), $key); 287: throw new Nette\MemberAccessException("Cannot read an undeclared column '$key'" . ($hint ? ", did you mean '$hint'?" : '.')); 288: } 289: 290: 291: public function __isset($key)
254: } 255: echo ' </form> 256: <h4>Propojky</h4> 257: <form id="connectionsform" method="GET"> 258: '; 259: $displayedConnections = [] /* line 114 */; 260: $iterations = 0; 261: foreach ($news as $n) /* line 115 */ { 262: $iterations = 0; 263: foreach ($n->connections() as $con) /* line 116 */ { 264: $displayedConnections[] = $con->data()->idModulePart . '_' . $con->data()->idItem /* line 117 */; 265: $iterations++; 266: } 267: $iterations++; 268: }
107: <a class="triggerremove uk-hidden ajax" href="{link removeFilterCategory! $nc->data()->id}"></a> 108: </label> 109: {/foreach} 110: </form> 111: <h4>Propojky</h4> 112: <form id="connectionsform" method="GET"> 113: {* Nejprve zjistime, ktere propojky jsou k dispozici *} 114: {var $displayedConnections = []} 115: {foreach $news as $n} 116: {foreach $n->connections() as $con} 117: {var $displayedConnections[] = $con->data()->idModulePart . '_' . $con->data()->idItem} 118: {/foreach} 119: {/foreach} 120: {foreach $displayedConnections as $d} 121: <label class="uk-form-label uk-display-block">
'idModulePart'
299: 300: if (!$block) { 301: $hint = ($t = Latte\Helpers::getSuggestion($this->getBlockNames($layer), $name)) 302: ? ", did you mean '$t'?" 303: : '.'; 304: $name = $layer ? "$layer $name" : $name; 305: throw new Latte\RuntimeException("Cannot include undefined block '$name'$hint"); 306: } 307: 308: $this->filter( 309: function () use ($block, $params): void { reset($block->functions)($params); }, 310: $mod, 311: $block->contentType, 312: "block $name" 313: );
null
354: $block->functions = array_merge($block->functions, $functions); 355: } 356: 357: 358: /** 359: * @param string|\Closure|null $mod content-type name or modifier closure 360: */ 361: private function filter(callable $function, $mod, string $contentType, string $name): void 362: { 363: if ($mod === null || $mod === $contentType) { 364: $function(); 365: 366: } elseif ($mod instanceof \Closure) { 367: echo $mod($this->capture($function), $contentType); 368:
298: : ($this->blocks[self::LAYER_LOCAL][$name] ?? $this->blocks[self::LAYER_TOP][$name] ?? null); 299: 300: if (!$block) { 301: $hint = ($t = Latte\Helpers::getSuggestion($this->getBlockNames($layer), $name)) 302: ? ", did you mean '$t'?" 303: : '.'; 304: $name = $layer ? "$layer $name" : $name; 305: throw new Latte\RuntimeException("Cannot include undefined block '$name'$hint"); 306: } 307: 308: $this->filter( 309: function () use ($block, $params): void { reset($block->functions)($params); }, 310: $mod, 311: $block->contentType, 312: "block $name"
'html'
'block newsFilterMenuSnippet'
166: echo ' 167: </h1> 168: </div> 169: </div> 170: <div data-uk-grid=""> 171: <div class="uk-width-1-4"> 172: <div class="uk-card uk-card-default uk-card-body uk-padding-small uk-margin-bottom"> 173: <div id="'; 174: echo htmlspecialchars($this->global->snippetDriver->getHtmlId('newsFilterMenuSnippet')); 175: echo '">'; 176: $this->renderBlock('newsFilterMenuSnippet', [], null, 'snippet') /* line 86 */; 177: echo '</div> 178: </div> 179: </div> 180: <div class="uk-width-3-4">
76: <div class="uk-width-1-1"> 77: <h1> 78: {_news, 2} 79: </h1> 80: </div> 81: </div> 82: <div data-uk-grid=""> 83: <div class="uk-width-1-4"> 84: {* Buttony pro ovladani filtrovani novinek (vetsinou nebude potreba....) *} 85: <div class="uk-card uk-card-default uk-card-body uk-padding-small uk-margin-bottom"> 86: {snippet newsFilterMenuSnippet} 87: <h3>Filtrování aktualit</h3> 88: <h4>Nastavení</h4> 89: <form id="specialform" method="GET"> 90: <label class="uk-form-label uk-display-block">
'newsFilterMenuSnippet'
array (0)
'snippet'
'block content'
183: /** {block bodyStructure} on line 63 */ 184: public function blockBodyStructure(array $ʟ_args): void 185: { 186: extract($this->params); 187: extract($ʟ_args); 188: unset($ʟ_args); 189: $this->createTemplate('@header.latte', $this->params, 'include')->renderToContentType('html') /* line 64 */; 190: echo ' 191: <main> 192: '; 193: $this->renderBlock('content', [], 'html') /* line 67 */; 194: echo ' </main> 195: 196: '; 197: $this->createTemplate('@footer.latte', $this->params, 'include')->renderToContentType('html') /* line 70 */;
57: <link n:ifset="$canonicalLink" rel="canonical" href="{$canonicalLink}"/> 58: {/ifset} 59: </head> 60: <body n:class="$bodyClass ? $bodyClass"> 61: {control scripts, 'body'} 62: 63: {block bodyStructure} 64: {include '@header.latte'} 65: 66: <main> 67: {include block content} 68: </main> 69: 70: {include '@footer.latte'} 71: {/block}
'content'
'block bodyStructure'
120: } 121: echo ' </head> 122: <body'; 123: echo ($ʟ_tmp = array_filter([$bodyClass ? $bodyClass : null])) ? ' class="' . LR\Filters::escapeHtmlAttr(implode(" ", array_unique($ʟ_tmp))) . '"' : "" /* line 60 */; 124: echo '> 125: '; 126: /* line 61 */ $_tmp = $this->global->uiControl->getComponent("scripts"); 127: if ($_tmp instanceof Nette\Application\UI\Renderable) $_tmp->redrawControl(null, false); 128: $_tmp->render('body'); 129: echo "\n"; 130: $this->renderBlock('bodyStructure', get_defined_vars()) /* line 63 */; 131: echo ' 132: 133: '; 134: $this->createTemplate('@form-sent-window.latte', $this->params, 'include')->renderToContentType('html') /* line 73 */;
53: 54: {ifset block canonical} 55: {include block canonical} 56: {else} 57: <link n:ifset="$canonicalLink" rel="canonical" href="{$canonicalLink}"/> 58: {/ifset} 59: </head> 60: <body n:class="$bodyClass ? $bodyClass"> 61: {control scripts, 'body'} 62: 63: {block bodyStructure} 64: {include '@header.latte'} 65: 66: <main> 67: {include block content}
'bodyStructure'
161: /** 162: * Renders template. 163: * @internal 164: */ 165: public function render(?string $block = null): void 166: { 167: $level = ob_get_level(); 168: try { 169: $this->prepare(); 170: if (!$this->doRender($block)) { 171: $this->main(); 172: } 173: 174: } catch (\Throwable $e) { 175: while (ob_get_level() > $level) {
193: 194: if ($this->referenceType === 'import') { 195: if ($this->parentName) { 196: throw new Latte\RuntimeException('Imported template cannot use {extends} or {layout}, use {import}'); 197: } 198: 199: } elseif ($this->parentName) { // extends 200: ob_start(function () {}); 201: $this->params = $this->main(); 202: ob_end_clean(); 203: $this->createTemplate($this->parentName, $this->params, 'extends')->render($block); 204: 205: } elseif ($block !== null) { // single block rendering 206: $this->renderBlock($block, $this->params); 207:
160: 161: /** 162: * Renders template. 163: * @internal 164: */ 165: public function render(?string $block = null): void 166: { 167: $level = ob_get_level(); 168: try { 169: $this->prepare(); 170: if (!$this->doRender($block)) { 171: $this->main(); 172: } 173: 174: } catch (\Throwable $e) {
92: 93: /** 94: * Renders template to output. 95: * @param object|mixed[] $params 96: */ 97: public function render(string $name, $params = [], ?string $block = null): void 98: { 99: $template = $this->createTemplate($name, $this->processParams($params)); 100: $template->global->coreCaptured = false; 101: ($this->probe)($template); 102: $template->render($block); 103: } 104: 105: 106: /**
36: return $this->latte; 37: } 38: 39: 40: /** 41: * Renders template to output. 42: */ 43: public function render(?string $file = null, array $params = []): void 44: { 45: Nette\Utils\Arrays::toObject($params, $this); 46: $this->latte->render($file ?: $this->file, $this); 47: } 48: 49: 50: /**
'/var/www/fourprojects.cz/data/www/fourprojects.cz/App/FrontendModule/templates/NewsList/default.latte'
40: return $this->source; 41: } 42: 43: 44: /** 45: * Sends response to output. 46: */ 47: public function send(Nette\Http\IRequest $httpRequest, Nette\Http\IResponse $httpResponse): void 48: { 49: if ($this->source instanceof Nette\Application\UI\Template) { 50: $this->source->render(); 51: 52: } else { 53: echo $this->source; 54: }
161: 162: Arrays::invoke($this->onPresenter, $this, $this->presenter); 163: $response = $this->presenter->run(clone $request); 164: 165: if ($response instanceof Responses\ForwardResponse) { 166: $request = $response->getRequest(); 167: goto process; 168: } 169: 170: Arrays::invoke($this->onResponse, $this, $response); 171: $response->send($this->httpRequest, $this->httpResponse); 172: } 173: 174: 175: public function processException(\Throwable $e): void
80: } 81: 82: 83: /** 84: * Dispatch a HTTP request to a front controller. 85: */ 86: public function run(): void 87: { 88: try { 89: Arrays::invoke($this->onStartup, $this); 90: $this->processRequest($this->createInitialRequest()); 91: Arrays::invoke($this->onShutdown, $this); 92: 93: } catch (\Throwable $e) { 94: Arrays::invoke($this->onError, $this, $e);
13: 14: if ( array_key_exists( 'time_limit', $parameters ) ) { 15: @set_time_limit( $parameters['time_limit'] ); 16: } 17: 18: if ( array_key_exists( 'memory_limit', $parameters ) ) { 19: @ini_set( 'memory_limit', $parameters['memory_limit'] . 'M' ); 20: } 21: 22: $application = $container->getByType(Application::class); 23: $application->run();
'/usr/local/bin:/usr/bin:/bin'
'/tmp'
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
'br,gzip'
'en-US,en;q=0.5'
'close'
'0'
'www.fourprojects.cz'
'CCBot/2.0 (https://commoncrawl.org/faq/)'
'Wed, 11 Sep 2024 20:38:19 GMT'
'https'
'443'
'on'
'Z1pAJgUrN74tQd2ozxsdRQAAAAs'
'/usr/share/awstats/lib:/usr/share/awstats/plugins'
'200'
'On'
''
'Apache/2.4.6 (CloudLinux) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/5.4.16'
'127.0.0.1'
443
'18.97.14.80'
'/var/www/fourprojects.cz/data/www/fourprojects.cz'
'http'
'webmaster@fourprojects.cz'
'/var/www/fourprojects.cz/data/www/fourprojects.cz/index.php'
'60514'
'/aktuality'
'HTTP/1.0'
'GET'
'/index.php'
1733967910.601047
1733967910
'/var/www/fourprojects.cz/data/www/fourprojects.cz/libs/twisto/Twisto/'
'/var/www/fourprojects.cz/data/www/fourprojects.cz/App'
array (1) 0 => array (7) | 'name' => 'default output handler' | 'type' => 0 | 'flags' => 20592 | 'level' => 0 | 'chunk_size' => 4096 | 'buffer_size' => 8192 | 'buffer_used' => 3318
empty
'tracy-session=e5eaa693ee; expires=Fri, 12 Dec 2025 07:45:10 GMT; Max-Age=31557600; path=/; HttpOnly'
'Nette Framework 3'
'text/html; charset=utf-8'
'SAMEORIGIN'
'_nss=1; path=/; secure; HttpOnly; SameSite=Strict'
'PHPSESSID=8sobrid0df8hpkhkavosvu4hah; expires=Thu, 26 Dec 2024 01:45:10 GMT; Max-Age=1209600; path=/; secure; HttpOnly; SameSite=Lax'
'Thu, 19 Nov 1981 08:52:00 GMT'
'no-store, no-cache, must-revalidate'
'no-cache'
'X-Requested-With'
Headers have been sent, output started at .../latte/Components-Scripts-default.latte--1d70173071.php:38 source
28: echo ' } ); 29: '; 30: } 31: echo ' </script> 32: '; 33: } 34: echo "\n"; 35: $iterations = 0; 36: foreach ($scripts as $script) /* line 17 */ { 37: echo ' '; 38: echo $script->data()->content /* line 18 */; 39: echo "\n"; 40: $iterations++; 41: } 42: return get_defined_vars();