Fatal error: Declaration of CodeIgniter\Log\Logger::emergency($message, array $context = []): bool must be compatible with Psr\Log\LoggerInterface::emergency(Stringable|string $message, array $context = []): void in /var/www/ci-app/system/Log/Logger.php on line 159
Fatal error: Uncaught Error: Class "CodeIgniter\Log\Logger" not found in /var/www/ci-app/system/Config/Services.php:401
Stack trace:
#0 /var/www/ci-app/system/Config/BaseService.php(258): CodeIgniter\Config\Services::logger(false)
#1 /var/www/ci-app/system/Config/BaseService.php(199): CodeIgniter\Config\BaseService::__callStatic('logger', Array)
#2 /var/www/ci-app/system/Config/Services.php(398): CodeIgniter\Config\BaseService::getSharedInstance('logger')
#3 /var/www/ci-app/system/Config/BaseService.php(258): CodeIgniter\Config\Services::logger(true)
#4 /var/www/ci-app/system/Common.php(796): CodeIgniter\Config\BaseService::__callStatic('logger', Array)
#5 /var/www/ci-app/system/Debug/Exceptions.php(128): log_message('critical', 'ErrorException:...', Array)
#6 /var/www/ci-app/system/Debug/Exceptions.php(245): CodeIgniter\Debug\Exceptions->exceptionHandler(Object(ErrorException))
#7 [internal function]: CodeIgniter\Debug\Exceptions->shutdownHandler()
#8 {main}
thrown in /var/www/ci-app/system/Config/Services.php on line 401