Welcome Guest, Not a member yet? Register   Sign In
CLI Error
#1

Hi,

I just installed a fresh copy of CI4 using the Composer App Starter package.

I then attempted to install CI Shield via composer which works fine up to running the command

Code:
php spark shield:setup

I then get the following error:

Code:
CodeIgniter v4.5.1 Command Line Tool - Server Time: 2024-05-17 17:15:38 UTC+01:00

PHP Fatal error:  Declaration of CodeIgniter\Log\Logger::emergency(Stringable|string $message, array $context = []): void must be compatible with PsrExt\Log\LoggerInterface::emergency($message, array $context = []) in /home/development/vendor/codeigniter4/framework/system/Log/Logger.php on line 162

I tried deleting the vendor folder and composer.lock file and installing again but the problem persists.

Not had this issue before and I have installed the App Starter and Shield lots of time.

Luke
Reply


Messages In This Thread
CLI Error - by ltarrant - 05-17-2024, 09:24 AM
RE: CLI Error - by ozornick - 05-17-2024, 09:56 AM
RE: CLI Error - by ltarrant - 05-20-2024, 07:17 AM
RE: CLI Error - by Bosborne - 05-21-2024, 03:47 AM
RE: CLI Error - by ozornick - 05-20-2024, 12:28 PM
RE: CLI Error - by ltarrant - 05-22-2024, 03:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB