Welcome Guest, Not a member yet? Register   Sign In
fatal logger emergency
#1

a clean install of 4.5.1 runs perfectly on my local system but when i copy it to the remote it crashes immediately. both systems are using php8.1
a similar application running on the same host but using 4.3.3 runs perfectly

PHP Code:
Fatal errorDeclaration of CodeIgniter\Log\Logger::emergency(Stringable|string $message, array $context = []): void must be compatible with PsrExt\Log\LoggerInterface::emergency($message, array $context = []) in /var/www/vhosts/53/149679/webspace/siteapps/vendor/codeigniter4/framework/system/Log/Logger.php on line 162

Fatal error
Uncaught Error: Class "CodeIgniter\Log\Logger" not found in /var/www/vhosts/53/149679/webspace/siteapps/vendor/codeigniter4/framework/system/Config/Services.php:403 Stack trace#0 /var/www/vhosts/53/149679/webspace/siteapps/vendor/codeigniter4/framework/system/Config/BaseService.php(311): CodeIgniter\Config\Services::logger(false) #1 /var/www/vhosts/53/149679/webspace/siteapps/vendor/codeigniter4/framework/system/Config/BaseService.php(250): CodeIgniter\Config\BaseService::__callStatic('logger', Array) #2 /var/www/vhosts/53/149679/webspace/siteapps/vendor/codeigniter4/framework/system/Config/Services.php(400): CodeIgniter\Config\BaseService::getSharedInstance('logger') #3 /var/www/vhosts/53/149679/webspace/siteapps/vendor/codeigniter4/framework/system/Config/BaseService.php(311): CodeIgniter\Config\Services::logger() #4 /var/www/vhosts/53/149679/webspace/siteapps/vendor/codeigniter4/framework/system/Config/BaseService.php(201): CodeIgniter\Config\BaseService::__callStatic('logger', Array) #5 /var/www/vhosts/53/149679/webspace/siteapps/vendor/codeigniter4/framework/system/Common.php(998): CodeIgniter\Config\BaseService::get('logger') #6 /var/www/vhosts/53/149679/webspace/siteapps/vendor/codeigniter4/framework/system/Common.php(785): service('logger') #7 /var/www/vhosts/53/149679/webspace/siteapps/vendor/codeigniter4/framework/system/Debug/Exceptions.php(140): log_message('critical', 'ErrorException:...', Array) #8 /var/www/vhosts/53/149679/webspace/siteapps/vendor/codeigniter4/framework/system/Debug/Exceptions.php(252): CodeIgniter\Debug\Exceptions->exceptionHandler(Object(ErrorException)) #9 [internal function]: CodeIgniter\Debug\Exceptions->shutdownHandler() #10 {main} thrown in /var/www/vhosts/53/149679/webspace/siteapps/vendor/codeigniter4/framework/system/Config/Services.php on line 403 

many thnaks for any help, Bill
Reply


Messages In This Thread
fatal logger emergency - by badger - 05-13-2024, 04:16 AM
RE: fatal logger emergency - by badger - 05-13-2024, 07:32 AM
RE: fatal logger emergency - by kenjis - 05-13-2024, 04:09 PM
RE: fatal logger emergency - by Bosborne - 05-14-2024, 03:32 AM
RE: fatal logger emergency - by kenjis - 05-14-2024, 03:39 AM
RE: fatal logger emergency - by badger - 05-14-2024, 02:24 AM
RE: fatal logger emergency - by itissucex - 05-24-2024, 03:18 PM
RE: fatal logger emergency - by JustJohnQ - 06-13-2024, 02:15 AM
RE: fatal logger emergency - by kenjis - 06-13-2024, 02:55 AM
RE: fatal logger emergency - by JustJohnQ - 06-13-2024, 03:22 AM
RE: fatal logger emergency - by dgvirtual - 07-23-2024, 11:15 AM
RE: fatal logger emergency - by kenjis - 07-23-2024, 09:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB