Title: GuzzleHttp error
Last modified: July 6, 2018

---

# GuzzleHttp error

 *  Resolved [yasodhara](https://wordpress.org/support/users/yasodhara/)
 * (@yasodhara)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/guzzlehttp-error/)
 * We’re seeing this error when submitting a constant-contact-form form:
 * Catchable fatal error: Argument 1 passed to GuzzleHttp\Exception\RequestException::
   create() must be an instance of GuzzleHttp\Message\RequestInterface, instance
   of GuzzleHttp\Psr7\Request given, called in …/wp-content/plugins/constant-contact-
   api/vendor/guzzlehttp/guzzle/src/Middleware.php on line 65 and defined in …/wp-
   content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/
   src/Exception/RequestException.php on line 65
 * constant-contact-forms version: 1.3.7
    constant-contact-api version: 4.1.1 wordpress:
   4.9.7
 * Any ideas?
 * Thank you.

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

 *  Plugin Author [Constant Contact](https://wordpress.org/support/users/constantcontact/)
 * (@constantcontact)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/guzzlehttp-error/#post-10470555)
 * Hi [@yasodhara](https://wordpress.org/support/users/yasodhara/)
 * From the looks of it, the “Constant Contact API” plugin is using a different 
   version of Guzzle than our plugin is.
 * Specifically, they’re in the 6.x branch while we’re still in the 5.x branch. 
   With that, the way things are being loaded, one version is being loaded and used
   for both.
 * The 6.x branch only has support for PHP 5.5+, while we still support PHP 5.4,
   so we need the Guzzle 5.x branch.
 * One question I have at least, is if you’re for sure needing both, or are you 
   perhaps in transition away from “Constant Contact API” and testing things out
   before officially switching?
 *  Thread Starter [yasodhara](https://wordpress.org/support/users/yasodhara/)
 * (@yasodhara)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/guzzlehttp-error/#post-10491831)
 * Hi. Sorry, just getting back to this. (Didn’t get an email notification that 
   you’d responded.)
 * We’ve had both constant-contact-api and constant-contact-forms installed for 
   a while. I’m not sure why we have both, I’m just starting to look at the site.
   It’s a wordpress multi-site, so I think maybe some of the subsites are using *-
   api and some are using *-forms.
 * The guzzle conflict didn’t seem to be an issue until one of the forms stopped
   working, then we get an error from trying to generate the error message I guess…
 * I’ll see if we can choose between constant-contact-api and constant-contact-forms.
 * Thanks.
 *  Plugin Author [Constant Contact](https://wordpress.org/support/users/constantcontact/)
 * (@constantcontact)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/guzzlehttp-error/#post-10492122)
 * One thing to keep in mind if it comes down to trying to keep both around, but
   only use one or the other in an individual site would be if either of them are
   network activated. That detail would cause one to be active in all of the sites,
   and not able to be controlled in each.
 * Hopefully the WordPress PHP version usage fleshes out more where it’s advantageous
   to drop PHP 5.4 support without cutting off too many potential customers. The
   community isn’t there yet though.

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

The topic ‘GuzzleHttp error’ is closed to new replies.

 * ![](https://ps.w.org/constant-contact-forms/assets/icon-256x256.png?rev=2951825)
 * [Constant Contact Forms](https://wordpress.org/plugins/constant-contact-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/constant-contact-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/constant-contact-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/constant-contact-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/constant-contact-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/constant-contact-forms/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Constant Contact](https://wordpress.org/support/users/constantcontact/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/guzzlehttp-error/#post-10492122)
 * Status: resolved