Title: Guzzle undefined function
Last modified: October 29, 2021

---

# Guzzle undefined function

 *  Resolved [Josh Kohlbach](https://wordpress.org/support/users/jkohlbach/)
 * (@jkohlbach)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/guzzle-undefined-function/)
 * Hi team… seeing some undefined function errors here:
 * [29-Oct-2021 00:04:45 UTC] PHP Fatal error: Uncaught Error: Call to undefined
   function GuzzleHttp\choose_handler() in /var/www/html/wp-content/plugins/wp-stateless/
   lib/Google/vendor/guzzlehttp/guzzle/src/HandlerStack.php:42
    Stack trace: #0 /
   var/www/html/wp-content/plugins/wp-stateless/lib/Google/vendor/guzzlehttp/guzzle/
   src/Client.php(65): GuzzleHttp\HandlerStack::create() #1 /var/www/html/wp-content/
   plugins/wp-stateless/lib/Google/src/Google/Client.php(1157): GuzzleHttp\Client-
   >__construct(Array) #2 /var/www/html/wp-content/plugins/wp-stateless/lib/Google/
   src/Google/Client.php(1112): wpCloud\StatelessMedia\Google_Client\Google_Client-
   >createDefaultHttpClient() #3 /var/www/html/wp-content/plugins/wp-stateless/lib/
   Google/src/Google/Client.php(381): wpCloud\StatelessMedia\Google_Client\Google_Client-
   >getHttpClient() #4 /var/www/html/wp-content/plugins/wp-stateless/lib/Google/
   src/Google/Client.php(860): wpCloud\StatelessMedia\Google_Client\Google_Client-
   >authorize() #5 /var/www/html/wp-content/plugins/wp-stateless/lib/Google/src/
   Google/Service/Resource.ph in /var/www/html/wp-content/plugins/wp-stateless/lib/
   Google/vendor/guzzlehttp/guzzle/src/HandlerStack.php on line 42
 * These errors were showing when used in conjunction on a site with WooCommerce
   Memberships when editing a Membership Plan.

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

 *  Thread Starter [Josh Kohlbach](https://wordpress.org/support/users/jkohlbach/)
 * (@jkohlbach)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/guzzle-undefined-function/#post-15017107)
 * Narrowed to your Elementor integration which hooks into save_post and tries to
   delete CSS files. For some reason this is firing on WooCommerce Products and 
   isn’t defensive enough to tell that it doesn’t need to do its thing.
 * You guys might want to look into this.
 *  Thread Starter [Josh Kohlbach](https://wordpress.org/support/users/jkohlbach/)
 * (@jkohlbach)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/guzzle-undefined-function/#post-15149250)
 * Hi team, any chance you can fix this?
 *  [fyaconiello](https://wordpress.org/support/users/fyaconiello/)
 * (@fyaconiello)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/guzzle-undefined-function/#post-15493098)
 * [@jkohlbach](https://wordpress.org/support/users/jkohlbach/) I’m currently on
   a project that is encountering the same issue – I inherited a whole stack of 
   woocommerce / elementor / addons and am trying to get GCP bucket running using
   wp-stateless and hitting that guzzle error. Did you find a solution for this?
 *  Thread Starter [Josh Kohlbach](https://wordpress.org/support/users/jkohlbach/)
 * (@jkohlbach)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/guzzle-undefined-function/#post-15497253)
 * 3 months is a long time so forgive me but my memory is a bit hazy. I think I 
   ended up updating Guzzle or something along those lines.
 * Hope that helps.

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

The topic ‘Guzzle undefined function’ is closed to new replies.

 * ![](https://ps.w.org/wp-stateless/assets/icon.svg?rev=1715943)
 * [WP-Stateless - Google Cloud Storage](https://wordpress.org/plugins/wp-stateless/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-stateless/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-stateless/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-stateless/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-stateless/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-stateless/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Josh Kohlbach](https://wordpress.org/support/users/jkohlbach/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/guzzle-undefined-function/#post-15497253)
 * Status: resolved