Notice

Trying to get property of non-object

/mnt/devel/Atrium/atriumstudio/vendor/onionCMS/Core/Controllers/PublicBaseController.php

Url/Visitor

http://www.atriumarchitekti.loc/sk/uvod (GET)

Mozilla/5.0 (X11; Linux x86_64; rv:131.0) Gecko/20100101 Firefox/131.0

Source

41
42 // Aktuálny rok --------------------------------------------------------
43 $this->view['year'] = date('Y', time());
44
45 // CSS+JS --------------------------------------------------------------
46 if (DEBUG === true) {
47 $this->services->onionCMS->commonAssets->minify = false;
48 $this->services->onionCMS->commonAssets->ignoreCache = true;
49
50 $this->services->onionCMS->assets->minify = false;
51 $this->services->onionCMS->assets->ignoreCache = true;
52 }
53
54 // Cookies nastavenia
55 $this->view['loggedUser'] = $this->app->user;
56
57 if (array_key_exists("consent_cookie", $_COOKIE) === true) {
58 $this->consentCookie = true;
59 $this->consentCookieAllowed = json_decode($_COOKIE["consent_cookie"], true);
60 $cookieDomain = $this->request->host;
61 setcookie("consent_cookie", json_encode($this->consentCookieAllowed), time() + 315360000, "/", $cookieDomain, false, false);
62 }
63
64 $arguments = func_get_args();
65
66 if (
67 strpos($this->app->currentRoute->urlTemplate, 'pageUrl') !== false
68 ) {
69 list($languageCode, $pageUrl) = $arguments;
70 $this->fetchPage($languageCode, $pageUrl);

Backtrace

$_SERVER

array (
  'REDIRECT_STATUS' => '200',
  'HTTP_HOST' => 'www.atriumarchitekti.loc',
  'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Linux x86_64; rv:131.0) Gecko/20100101 Firefox/131.0',
  'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/png,image/svg+xml,*/*;q=0.8',
  'HTTP_ACCEPT_LANGUAGE' => 'sk,cs;q=0.8,en-US;q=0.5,en;q=0.3',
  'HTTP_ACCEPT_ENCODING' => 'gzip, deflate',
  'HTTP_REFERER' => 'http://www.atriumarchitekti.loc/sk/uvod',
  'HTTP_CONNECTION' => 'keep-alive',
  'HTTP_COOKIE' => 'consent_cookie=%7B%22preferences%22%3Atrue%2C%22statistics%22%3Atrue%7D; qazfdrtygdfxsw=0n8iukqsp76nq58oericc4plpsvm28u3emlf4kifjgvms56u6fs3kh74ev84l7mhovdl8unpalhfgorcg95bbdunqqa7mes1f5q2hl1; language=sk',
  'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
  'HTTP_PRIORITY' => 'u=0, i',
  'HTTP_PRAGMA' => 'no-cache',
  'HTTP_CACHE_CONTROL' => 'no-cache',
  'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
  'SERVER_SIGNATURE' => '<address>Apache/2.4.25 (Debian) Server at www.atriumarchitekti.loc Port 80</address>
',
  'SERVER_SOFTWARE' => 'Apache/2.4.25 (Debian)',
  'SERVER_NAME' => 'www.atriumarchitekti.loc',
  'SERVER_ADDR' => '127.0.0.1',
  'SERVER_PORT' => '80',
  'REMOTE_ADDR' => '127.0.0.1',
  'DOCUMENT_ROOT' => '/mnt/devel/Atrium/atriumstudio/www_root',
  'REQUEST_SCHEME' => 'http',
  'CONTEXT_PREFIX' => '',
  'CONTEXT_DOCUMENT_ROOT' => '/mnt/devel/Atrium/atriumstudio/www_root',
  'SERVER_ADMIN' => 'webmaster@localhost',
  'SCRIPT_FILENAME' => '/mnt/devel/Atrium/atriumstudio/www_root/index.php',
  'REMOTE_PORT' => '57652',
  'REDIRECT_URL' => '/sk/uvod',
  'GATEWAY_INTERFACE' => 'CGI/1.1',
  'SERVER_PROTOCOL' => 'HTTP/1.1',
  'REQUEST_METHOD' => 'GET',
  'QUERY_STRING' => '',
  'REQUEST_URI' => '/sk/uvod',
  'SCRIPT_NAME' => '/index.php',
  'PHP_SELF' => '/index.php',
  'REQUEST_TIME_FLOAT' => 1729064879.7750001,
  'REQUEST_TIME' => 1729064879,
)

$_GET

array (
)