Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Potential issue with Logit dependency

Status Resolved
Add-on / Version Logit 1.1.3
Severity
EE Version 6.3.5

Paul Larson

Oct 04, 2022

I installed LogIt today, checked it, seemed fine. Then I didn’t think anything more of it.

Client writes that their CartThrob install was throwing an error on checkout (specifics below).

I uninstalled LogIt, and continued to not think anything of it as that seemed a way to rule it out.

But only removing Logit from the filesystem fixes CartThrob. I wonder if EE loads some Logit dependencies that don’t give with CartThrob?

——-

Error Caught
Call to undefined method GuzzleHttp\Utils::chooseHandler()
user/addons/cartthrob/vendor/php-http/guzzle7-adapter/src/Client.php:69
Stack Trace: Please include when reporting this error
#0 user/addons/cartthrob/vendor/php-http/guzzle7-adapter/src/Client.php(32): Http\Adapter\Guzzle7\Client::buildClient()
#1 user/addons/cartthrob/vendor/php-http/discovery/src/ClassDiscovery.php(219): Http\Adapter\Guzzle7\Client->__construct()
#2 user/addons/cartthrob/vendor/php-http/discovery/src/HttpClientDiscovery.php(30): Http\Discovery\ClassDiscovery::instantiateClass()
#3 user/addons/cartthrob/vendor/omnipay/common/src/Common/Http/Client.php(34): Http\Discovery\HttpClientDiscovery::find()
#4 user/addons/cartthrob/vendor/omnipay/common/src/Common/AbstractGateway.php(332): Omnipay\Common\Http\Client->__construct()
#5 user/addons/cartthrob/vendor/omnipay/common/src/Common/AbstractGateway.php(69): Omnipay\Common\AbstractGateway->getDefaultHttpClient()
#6 user/addons/cartthrob/vendor/omnipay/common/src/Common/GatewayFactory.php(88): Omnipay\Common\AbstractGateway->__construct()
#7 [internal function]: Omnipay\Common\GatewayFactory->create()
#8 user/addons/cartthrob/vendor/omnipay/common/src/Omnipay.php(116): call_user_func_array()
#9 user/addons/cartthrob/cartthrob/plugins/payment_gateways/Cartthrob_authorize_net.php(117): Omnipay\Omnipay::__callStatic()

#1

Paul Larson

Screenshot has a more extended trace. Sorry I couldn’t lift more of the raw text.

https://www.dropbox.com/s/ejbhf3679gfrs3w/2022-10-04_17-58-00.png?dl=0

#2

BoldMinded (Brian)

What version of Cartthrob?

#3

BoldMinded (Brian)

Comment has been marked private.

#4

BoldMinded (Brian)

Actually I can’t just update b/c I’m using Flysystem v2. V3 requires PHP 8, and is what I assume Guzzle 7 supports.

Are you using Cartthrob v7?

#5

BoldMinded (Brian)

Comment has been marked private.

#6

BoldMinded (Brian)

Paul, that build in the previous comment requires php 7.4 btw. This will bump Logit’s minimum version from 7.2 to 7.4.

Login to reply