Request – Update guzzle version – conflict with other plugins – crashing website
-
Hi,
Thanks a lot for this wonderful plugin!
I am using:
WordPress version: 6.1.1
WooCommerce version: 7.3.0
GSheet For Woo Importer – 2.2
With debug.log enabled on my local environment and testing another plugin that uses guzzle, I am getting a recurring fatal error:
PHP Fatal error: Uncaught Error: Call to undefined method GuzzleHttp\Utils::chooseHandler()
The rest of the error points to
Stack trace: #0 \wp-content\plugins\import-products-from-gsheet-for-woo-importer\vendor\guzzlehttp\guzzle\src\HandlerStack.php(42): GuzzleHttp\choose_handler() #1 \wp-content\plugins\import-products-from-gsheet-for-woo-importer\vendor\guzzlehttp\guzzle\src\Client.php(66): GuzzleHttp\HandlerStack::create() #2 \wp-content\plugins\import-products-from-gsheet-for-woo-importer\vendor\google\apiclient\src\Google\Client.php(1169): GuzzleHttp\Client->__construct(Array) #3 \wp-content\plugins\import-products-from-gsheet-for-woo-importer\vendor\google\apiclient\src\Google\Client.php(1124): Google_Client->createDefaultHttpClient() #4 \wp-content\plugins\import-products-from-gsheet-for-woo-importer\vendor\google\api in
I checked and found that the guzzle version in GSheet For Woo Importer is 6.5.0 – 2019-11-07 whereas the other plugin I am testing is on 7.4.2 – 2022-03-20
In my local version, I replaced \import-products-from-gsheet-for-woo-importer.2.2.0\import-products-from-gsheet-for-woo-importer\vendor\guzzlehttp\ with the version 7.4.2 – 2022-03-20
All seems to be working fine now. My local environment is usable with this temporary fix.
This is a request for you to review and update your plugin / guide me on this.
Thanks
- The topic ‘Request – Update guzzle version – conflict with other plugins – crashing website’ is closed to new replies.