Composer dependency conflicts
-
Hi!
We’ve ran into a dependency version conflict after installing your plugin with Composer. This unfortunately prevents us from using the events calendar.
The package that is causing issues for us is monolog/monolog, which is locked at version 1.24.0 inside the tribe-common package. We use another package which has monolog/monolog locked at 2.2.0. This causes fatal errors. But this could be any package, not just Monolog.
A possible solution would be to use vendor prefixing with php-scoper. This can add a prefix to the namespace of all your vendor dependencies, which allows multiple versions of the same packages to be used besides each other. We use the same method in Yoast SEO.
- The topic ‘Composer dependency conflicts’ is closed to new replies.