awesomemotive / WP-Mail-SMTP

The most popular WordPress SMTP and PHP Mailer plugin. Trusted by over 3 million sites.
https://wordpress.org/plugins/wp-mail-smtp/
GNU General Public License v3.0
55 stars 34 forks source link

Guzzle conflict #136

Closed hughrun closed 2 months ago

hughrun commented 2 months ago

Expected Behavior

Everything works fine.

Current Behavior

I am getting an intermittent guzzle error: Guzzle client error: Could not load a clean page to check in the CiviCRM admin interface.

In my CiviCRM log I'm getting:

GuzzleHttp\Client returned cURL error 7: Failed to connect to example.com on port 443

This error is causing issues in my other plugin (CiviCRM). As far as I can tell it is caused by a conflict between their guzzle (7.6.1) and your Guzzle (7.8.1). I have attempted to upgrade for CiviCRM but it doesn't seem to work, and manually adjusting it every time one or other is upgraded is not sustainable.

Possible Solution

As noted by your devs in #21 #48 and #81 namespacing your guzzle may resolve this conflict?

hughrun commented 2 months ago

hmm actually seems this probably isn't the cause after all.

capuderg commented 2 months ago

Hi @hughrun, we are "prefixing" with out own namespace any 3rd party library, so it should not cause any conflicts with other plugins.

Thank you for updating us, that our plugin was not the cause of your issues.