Skip to content

Conversation

@Jako
Copy link
Contributor

@Jako Jako commented Mar 21, 2025

PHP Fatal error: Declaration of GPM\Logger\MODX::log($level, $message, array $context = []) must be compatible with Psr\Log\LoggerTrait::log($level, Stringable|string $message, array $context = []): void in /.../core/components/gpm/src/Logger/MODX.php on line 35

This occurs in PHP 8.2.x

PHP Fatal error:  Declaration of GPM\Logger\MODX::log($level, $message, array $context = []) must be compatible with Psr\Log\LoggerTrait::log($level, Stringable|string $message, array $context = []): void in /.../core/components/gpm/src/Logger/MODX.php on line 35
@hugopeek
Copy link

I ran into issues with the logger as well.. Maybe this is related to #183 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants