Notice

Trying to access array offset on value of type null

/home/klingger/public_html/studiopl/vendor/Onion/Application/Application.php

Url/Visitor

http://klingger.webstranky.net/~klingger/studiopl/public_html/ (GET)

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36

Source

125
126 $this->startSession();
127
128 $this->runHooks('system.hooks.beforeCreateController');
129
130 if (isset($_SESSION['onion.flash']) === true) {
131 $this->flash['current'] = $_SESSION['onion.flash'];
132 }
133
134 $view = $this->container->view;
135
136 $view['host'] = $this->request->host;
137 $view['baseUrl'] = $this->request->baseUrl;
138 $view['baseDomain'] = $this->request->baseDomain;
139 $view['baseDomainUrl'] = $this->request->baseDomainUrl;
140 $view['subDomain'] = $this->request->subDomain;
141 $view['url'] = $this->request->url;
142 $view['resource'] = $this->request->resource;
143 $view['resourceArray'] = $this->request->resourceArray;
144 $view['routeName'] = $this->route['name'];
145 $view['root'] = $this->request->root;
146 $view['configuration'] = $this->configuration;
147
148 if ($this->controllerName === null) {
149 $this->controllerName = $this->currentRoute->controller;
150 }
151
152 if ($this->actionName === null) {
153 $this->actionName = $this->currentRoute->action;
154 }

Backtrace

$_SERVER

array (
  'HTTP_HOST' => 'klingger.webstranky.net',
  'HTTP_CONNECTION' => 'keep-alive',
  'HTTP_CACHE_CONTROL' => 'max-age=0',
  'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
  'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36',
  'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9',
  'HTTP_REFERER' => 'http://klingger.webstranky.net/~klingger/studiopl/',
  'HTTP_ACCEPT_ENCODING' => 'gzip, deflate',
  'HTTP_ACCEPT_LANGUAGE' => 'sk-SK,sk;q=0.9,cs;q=0.8,en-US;q=0.7,en;q=0.6',
  'HTTP_COOKIE' => 'qazfdrtygdfxsw=6qfp22qtb8usl8ie0bk58lr4pt; XDEBUG_SESSION=VSCODE',
  'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/bin',
  'SERVER_SIGNATURE' => '',
  'SERVER_SOFTWARE' => 'Apache/2.4.41 (Unix) PHP/7.4.1',
  'SERVER_NAME' => 'klingger.webstranky.net',
  'SERVER_ADDR' => '192.168.1.10',
  'SERVER_PORT' => '80',
  'REMOTE_ADDR' => '192.168.1.10',
  'DOCUMENT_ROOT' => '/etc/httpd/docs/dummy-host.example.com',
  'REQUEST_SCHEME' => 'http',
  'CONTEXT_PREFIX' => '/~klingger',
  'CONTEXT_DOCUMENT_ROOT' => '/home/klingger/public_html',
  'SERVER_ADMIN' => 'webmaster@dummy-host.example.com',
  'SCRIPT_FILENAME' => '/home/klingger/public_html/studiopl/public_html/index.php',
  'REMOTE_PORT' => '57674',
  'GATEWAY_INTERFACE' => 'CGI/1.1',
  'SERVER_PROTOCOL' => 'HTTP/1.1',
  'REQUEST_METHOD' => 'GET',
  'QUERY_STRING' => '',
  'REQUEST_URI' => '/~klingger/studiopl/public_html/',
  'SCRIPT_NAME' => '/~klingger/studiopl/public_html/index.php',
  'PHP_SELF' => '/~klingger/studiopl/public_html/index.php',
  'REQUEST_TIME_FLOAT' => 1578815238.694,
  'REQUEST_TIME' => 1578815238,
)

$_GET

array (
)