I have a bug in my code when working in the development environment.
Fatal error: Declaration of MonologLogger::emergency(Stringable|string $message, array $context = []): void must be compatible with PsrLogLoggerInterface::emergency($message, array $context = []) in ....
I have debugged this and found that removing psr from the WPML static autoload resolves this. Probably due to WPML using older PSR standards, I was wondering if there was any future of updating these?
Or if I have to resort to some wrapper to ignore logging within WPML during runtime?
It appears that the Logger within WPML conflicts with Laravel's Illuminate/Log package
I am using Bedrock/Sage/Acorn. I had this bug when upgrading Acorn to v4. And after the community helped me we pinpointed it to WPML
There is an internal ticket where it is mentioned that the fix for this may end up in WPML 4.7, but this may change so I can't be certain when exactly.