Title: Call to undefined method GuzzleHttp\Client::request()
Last modified: November 14, 2017

---

# Call to undefined method GuzzleHttp\Client::request()

 *  [Dustin Taylor](https://wordpress.org/support/users/dustingtaylor/)
 * (@dustingtaylor)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/call-to-undefined-method-guzzlehttpclientrequest/)
 * I’m on PHP 7.0, trying to activate the plugin and getting this error:
 * Fatal error: Uncaught Error: Call to undefined method GuzzleHttp\Client::request()
   in wp-content/plugins/gravityforms-hubspot/vendor/ryanwinchester/hubspot-php/
   src/Http/Client.php:100

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

 *  Plugin Author [Chris Lagasse](https://wordpress.org/support/users/soben/)
 * (@soben)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/call-to-undefined-method-guzzlehttpclientrequest/#post-9685282)
 * Hey dustingtaylor,
 * I’ve encountered this once before, and it’s because there’s another plugin also
   using Guzzle, and unfortunately using an outdated version.
 * I will try to provide an additional check to make sure that method exists, but
   you still would require to update the Guzzle on a different plugin/theme in order
   to use our plugin, unfortunately.
 *  Thread Starter [Dustin Taylor](https://wordpress.org/support/users/dustingtaylor/)
 * (@dustingtaylor)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/call-to-undefined-method-guzzlehttpclientrequest/#post-9715737)
 * Hi Chris,
 * I’ve noticed that the only other plugin that uses Guzzle is w3-total-cache. Would
   that be the culprit?
 *  Plugin Author [Chris Lagasse](https://wordpress.org/support/users/soben/)
 * (@soben)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/call-to-undefined-method-guzzlehttpclientrequest/#post-9729482)
 * Hey Dustin,
 * Possibly. The issue is that Guzzle has been updated, and W3 is loading before
   our plugin, so it’s loading their version of Guzzle. I’m assuming all of your
   plugins are up to date?
 * We do not have any sites that run W3 Total Cache, in preference for other caching
   solutions (especially ones provided by our host at WPEngine)… so I’ll need to
   get that plugin installed locally and check for conflicts.
 * I may look into a “dev-specific” version of our plugin that won’t be updated 
   here, but accomplishes the same thing, that runs an earlier version of Guzzle.
   I will have to tinker with that. We have another client who has problems due 
   to PHP versioning, and both problems may be solved in the same situation.

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

The topic ‘Call to undefined method GuzzleHttp\Client::request()’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/gravityforms-hubspot_26e0df.svg)
 * [HubSpot for Gravity Forms](https://wordpress.org/plugins/gravityforms-hubspot/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravityforms-hubspot/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravityforms-hubspot/)
 * [Active Topics](https://wordpress.org/support/plugin/gravityforms-hubspot/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravityforms-hubspot/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravityforms-hubspot/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Chris Lagasse](https://wordpress.org/support/users/soben/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/call-to-undefined-method-guzzlehttpclientrequest/#post-9729482)
 * Status: not resolved