• 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!

Viewing 1 replies (of 1 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @trek7k

    Thank you for reaching out and thank you for your suggestion.

    I need to check this with the team and get back to you once I have more information about this.
    Once again, we appreciate you reahcing out with this suggestion and this is under review..
    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Guzzle dependency conflict’ is closed to new replies.