Warning: Use of undefined constant DIRECTORY - assumed 'DIRECTORY' (this will throw an Error in a future version of PHP) in /parowozownia/index.php on line 8

Warning: Cannot modify header information - headers already sent by (output started at /parowozownia/index.php:8) in /parowozownia/System/Handler/PHPError/PHPErrorHandler.php on line 73
Error

Błąd PHP

Function create_function() is deprecated
Błąd w pliku /parowozownia/System/Framework/Config/Config.php, w linii 111. Error Level 8192.

Wystąpienie błędu

            {
                $indexesString .= "['{$indexes[$i]}']";
            }
        }

        $anonymousFunction = create_function('$array', "
            if(isset(\$array$indexesString))
                return \$array$indexesString;
            else
                return null;
        ");

        return $anonymousFunction($this->_config);
    }
}

Backtrace

# Method File Line
10 System\Handler\PHPError\PHPErrorHandler->showError() /parowozownia/System/Framework/Config/Config.php 111
9 System\Framework\Config\Config->getConfig() /parowozownia/System/HTTP/Session/DatabaseSessionStorage.php 90
8 System\HTTP\Session\DatabaseSessionStorage->__construct()
7 ReflectionClass->newInstanceArgs() /parowozownia/System/DependencyInjection/ServiceManager.php 310
6 System\DependencyInjection\ServiceManager->_getClassWhithVariablesParameters() /parowozownia/System/DependencyInjection/ServiceManager.php 260
5 System\DependencyInjection\ServiceManager->getService() /parowozownia/System/DependencyInjection/ServiceManager.php 305
4 System\DependencyInjection\ServiceManager->_getClassWhithVariablesParameters() /parowozownia/System/DependencyInjection/ServiceManager.php 260
3 System\DependencyInjection\ServiceManager->getService() /parowozownia/System/Framework/Kernel.php 109
2 System\Framework\Kernel->init() /parowozownia/System/Framework/Kernel.php 121
1 System\Framework\Kernel->run() /parowozownia/index.php 96

trigoCMS! v.1.4.0 | Media Essence | Copyright © 2012 - 2022
30.09.2022 18:47:44