Hi I just created a project from roots/bedrock, and installed a WordPress plugin wpackagist-plugin/cloudflare
.
Both bedrock and wpackagist-plugin/cloudflare
uses psr/log
; but the cloudflare plugin has its own copy inside its plugin folder’s vendor folder.
The psr/log
installed from bedrock’s composer is version 3.0 (since I’m running on php8), but the cloudflare plugin is using version 1.0.
So when cloudflare tries to initialise its logger system, it use Psr\Log\AbstractLogger
and extend from it, but the debug()
method in it is incompatible from the version 3 of psr/log
.
I imagine similar problems happen for a lot people. So do should this kind of version conflict be resolved? Thanks!