Unknown Error

Class \Onion\Caching\Cache does not exist

/home/klingger/public_html/studiopl/vendor/Onion/DI/Factory.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

6 {
7 private $services;
8
9 private $class;
10
11 private $deps = array();
12
13 private $properties = array();
14
15 public function __construct(\Onion\DI\Container $services, $class, $deps = array(), $properties = array())
16 {
17 $this->services = $services;
18 $this->class = $class;
19 $this->deps = $deps;
20 $this->properties = $properties;
21 }
22
23 public function create()
24 {
25 $rc = new \ReflectionClass($this->class);
26
27 $deps = func_get_args();
28 if (empty($deps) === true) {
29 $deps = $this->deps;
30 } else {
31 $_deps = array_reverse((array) $this->deps);
32 foreach ($_deps as $dep) {
33 array_unshift($deps, $dep);
34 }
35 }

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' => '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' => '57594',
  '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' => 1578815070.581,
  'REQUEST_TIME' => 1578815070,
)