Warning

Attempt to assign property of non-object

/mnt/devel/Atrium/atriumstudio/vendor/onionCMS/Core/Libs/onionCMS.php

Url/Visitor

http://www.atriumarchitekti.loc/_cookies (POST)

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

Source

102
103 if ($i == count($this->app->currentRoute->defaults)) {
104 return;
105 }
106
107 $query = $this->app->request->get;
108 $url = $this->app->router->createUrl($this->app->currentRoute->name, $resource, $query);
109 $this->app->redirect($url);
110 }
111
112
113 public function finishInit()
114 {
115 $this->redirectToDefault();
116
117 $view = $this->app->controller->view;
118
119 $view['language'] = $this->language;
120 $view['languages'] = $this->languages;
121 $view->hash .= '-'.$this->language['code'];
122 $view['configuration'] = $this->app->configuration;
123
124 foreach ($this->modules as $module) {
125 foreach ($module->texyScriptHandlers as $cmd => $handler) {
126 $skipCache = false;
127
128 if (is_array($handler) === true) {
129 if (is_string($handler[0]) === true
130 and $handler[0][0] === '@') {
131

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?agreement=&action=decline',
  'CONTENT_TYPE' => 'application/x-www-form-urlencoded',
  'CONTENT_LENGTH' => '40',
  'HTTP_ORIGIN' => 'http://www.atriumarchitekti.loc',
  'HTTP_CONNECTION' => 'keep-alive',
  'HTTP_COOKIE' => 'language=sk; qazfdrtygdfxsw=0sraet51hl7ui3mff5jsos2cgmdncoc5j1uv0ieo5q0jg1170g1iijk1ulsvomqu0b856ge4rif9p7nreueg6jr21pd2enkfhev9pl3',
  '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' => '35634',
  'REDIRECT_URL' => '/_cookies',
  'GATEWAY_INTERFACE' => 'CGI/1.1',
  'SERVER_PROTOCOL' => 'HTTP/1.1',
  'REQUEST_METHOD' => 'POST',
  'QUERY_STRING' => '',
  'REQUEST_URI' => '/_cookies',
  'SCRIPT_NAME' => '/index.php',
  'PHP_SELF' => '/index.php',
  'REQUEST_TIME_FLOAT' => 1728592431.918,
  'REQUEST_TIME' => 1728592431,
)

$_POST

array (
  'function' => 'on',
  'preferences' => 'on',
  'action' => 'accept',
)

$_GET

array (
)