Viewing 7 replies - 1 through 7 (of 7 total)
  • I am having a similar issue. It is throwing an error and it is causing a critical error. PhP log says:
    Stack trace:
    #0 /home/NAMEREDACTED/public_html/wp-content/plugins/wp-mail-smtp/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php(107): GuzzleHttp\Exception\RequestException::getResponseBodySummary(Object(GuzzleHttp\Psr7\Response))
    #1 /home/NAMEREDACTED/public_html/wp-content/plugins/wp-mail-smtp/vendor/guzzlehttp/guzzle/src/Middleware.php(65): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response))
    #2 /home/NAMEREDACTED/public_html/wp-content/plugins/wp-mail-smtp/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response))
    #3 /home/NAMEREDACTED/public_html/wp-content/plugins/wp-mail-smtp/vendor/guzzlehttp/promises/src/Promise.php(156): GuzzleHttp\ in /home/NAMEREDACTED/public_html/wp-content/plugins/wp-mail-smtp/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php on line 127

    Hi @espressivo, @eddison_inman

    It looks like a conflict with the different versions of Guzzle loaded in your site. One by WP Mail SMTP and other by some plugin or your theme. Please follow this troubleshooting guide to find out the issue.

    I hope that helps!

    Thread Starter Eddison Lim

    (@eddison_inman)

    Hi @sanzeeb3,

    Thanks for the reply. We are using the latest version of Guzzle v7 in our theme. It appears that the latest version 2.2.1 of WP Mail SMTP plugin is using Guzzle v6.5.5.

    Will the plugin be using the latest version of Guzzle in the next release/update?

    Thanks,
    Eddison

    Well if you guys aren’t using the latest version of Guzzle and your plugin is throwing the error code then perhaps you should update to the latest version of Guzzle.

    Hi @eddison_inman, @espressivo

    Thanks for the details. Yes, we are looking forward to avoid such third-party library conflicts in the future.

    I apologize for any inconvenience caused by this in the meantime.

    Have a good one.

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi @eddison_inman and @espressivo,

    we can’t update to the latest version of Guzzle (v7.x) since it only supports PHP >= 7.2.

    We’ll have to stick with v6.x because we support PHP >= 5.5 in our plugin and so does Guzzle v6.x.

    More info here: https://github.com/guzzle/guzzle#version-guidance

    As Sanjeev said, we are looking into prefixing our dependencies in the plugin, that should resolve these conflicts in one of our future releases.

    Have a nice day!

    Thread Starter Eddison Lim

    (@eddison_inman)

    Hi @sanzeeb3 and @capuderg ,

    Thanks for the info. We are on PHP 7, so we will have to downgrade our Guzzle version in our theme to v6.x for the time being.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Error message from guzzle’ is closed to new replies.