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