Gantry5 v5.5.19
I have been trying to set up login using PassKey but after signing in the following error is thrown:
Compile Error: Declaration of Psr\Log\NullLogger::log($level, $message, array $context = []) must be compatible with Psr\Log\AbstractLogger::log($level, Stringable|string $message, array $context = []): void
After a bit of Googling I was able to fix the error by editing /libraries/gantry5/vendor/psr/log/Psr/Log/NullLogger.php
Replacing line 26:
public function log($level, $message, array $context = array())
With:
public function log($level, $message, array $context = []): void