Guzzle dependency conflict
-
Hi there, we’re having a conflict between the W3TC plugin and another plugin for Google Analytics. Specifically the plugins rely on two different versions of Guzzle, and the (older) version of Guzzle that W3TC uses doesn’t have a function the Google Analytics library relies on.
> Uncaught Error: Call to undefined method GuzzleHttp\Utils::chooseHandler()
I know this is an issue for a lot of plugins, and rather than trying to keep dependency versions in sync and or up to date, this seems like it could be a good solution:
https://deliciousbrains.com/php-scoper-namespace-composer-depencies/
Would it be possible to add a namespace to the Guzzle dependency for W3TC to avoid any conflicts? Thanks!
- The topic ‘Guzzle dependency conflict’ is closed to new replies.