Cannot use object of type Onion\Application\Router\Route as array
/home/klingger/public_html/studiopl/vendor/Onion/Application/Application.php
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
125126 $this->startSession();127128 $this->runHooks('system.hooks.beforeCreateController');129130 if (isset($_SESSION['onion.flash']) === true) {131 $this->flash['current'] = $_SESSION['onion.flash'];132 }133134 $view = $this->container->view;135136 $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->currentRoute['name'];145 $view['root'] = $this->request->root;146 $view['configuration'] = $this->configuration;147148 if ($this->controllerName === null) {149 $this->controllerName = $this->currentRoute->controller;150 }151152 if ($this->actionName === null) {153 $this->actionName = $this->currentRoute->action;154 }
1213 // absolute filesystem path to the libraries14 define('LIBS_DIR', realpath(WWW_DIR.'/../vendor'));1516 // absolute filesystem path to the web root17 define('ONION_DIR', LIBS_DIR.'/Onion');1819 // absolute filesystem path to the application root20 define('APP_DIR', WWW_DIR.'/../app');2122 // absolute filesystem path to the temporary files23 define('TEMP_DIR', realpath(WWW_DIR.'/../temp'));2425 // absolute filesystem path to the cache26 define('CACHE_DIR', realpath(WWW_DIR.'/../cache'));2728 define('ONIONCMS_DIR', realpath(ONION_DIR.'/../onionCMS'));2930 // load bootstrap file31 require ONIONCMS_DIR.'/bootstrap.php';
array ( 0 => '/home/klingger/public_html/studiopl/vendor/onionCMS/bootstrap.php', )
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' => '57738', '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' => 1578815456.665, 'REQUEST_TIME' => 1578815456, )
array ( )