Unknown Error

syntax error, unexpected ','

/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

78 setcookie('language', $languageCode, time() + (10 * 365 * 24 * 60 * 60), $cookiePath, $cookieDomain);
79 }
80 }
81 }
82
83
84 public function after()
85 {
86 if (is_object($this->view) === false) {
87 return;
88 }
89
90 $this->view['title'] = strip_tags($this->title);
91 $this->view['description'] = strip_tags($this->description);
92 $keywords = trim($this->keywords, ',');
93 $this->view['keywords'] = strip_tags($keywords);
94 $this->view['websiteName'] = strip_tags($this->websiteName);
95 $this->view['websiteLongName'] = strip_tags($this->websiteLongName);
96
97 var_dump($_COOKIE, $this->consentCookie), $this->xxx;
98 exit;
99 $this->view["consent_cookie"] = $this->consentCookie;
100 $this->view["consent_cookie_allowed"] = $this->consentCookieAllowed;
101
102 if (\Onion\Utils\Visitor::isMobile() === true) {
103 $this->view['mobile'] = 'mobile';
104 }
105
106 parent::after();
107 }

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=acbav3ib6uaef69ck8177g1eqdmikfehdflorcajpk8mpv6ph0g513to2so8fifnbmci2b987v24pe8nlmb3rdabdgvm3dn9rqipcv3; 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' => '56902',
  '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' => 1728758138.155,
  'REQUEST_TIME' => 1728758138,
)

$_GET

array (
)