flipboxfactory / saml-sp

SAML Service Provider (SP) Plugin for Craft CMS
https://saml-sp.flipboxfactory.com/
Other
19 stars 5 forks source link

[Craft 4] Logger issue #221

Open sanderpotjer opened 4 days ago

sanderpotjer commented 4 days ago

After updating to 4.2.0 on Craft 4 the SSO login no longer works due logger issue:

flipbox\saml\psr\log\Logger::log($level, Stringable|string $message, array $context = []): void must be compatible with Psr\Log\LoggerTrait::log($level, $message,array $context = []) at /vendor/flipboxfactory/saml-core-psr-log/src/Logger.php:76

"craftcms/cms": "4.10.2",
"flipboxfactory/saml-sp": "4.2.0",
dsmrt commented 4 days ago

This package flipboxfactory/saml-core-psr-log should have been installed to fix this exact issue. Are seeing it? Can you run a couple commands to see what packages you're using? Try these two:

composer show psr/log
composer show flipboxfactory/saml-core-psr-log
dsmrt commented 3 days ago

Add one more check to the list:

composer show flipboxfactory/saml-core 

Core should be on 4.2.1