Which Commerce Version?

I’ve just upgraded a site to MODX 3.2.3. PHP 8.3. Guzzle 7.8.2. I’m running Commerce 1.2.9 but getting the following error when I go to Extras–>Commerce. Which version of Commerce should I upgrade to please?

Error: Call to undefined method GuzzleHttp\Handler\Proxy::wrapTlsFallback()
Errors:
 /home/##########v/public_html/core/vendor/guzzlehttp/guzzle/src/Utils.php:240
 GuzzleHttp\Utils::chooseHandler() in /home/##########v/public_html/core/vendor/guzzlehttp/guzzle/src/HandlerStack.php:49
 GuzzleHttp\HandlerStack::create() in /home/##########v/public_html/core/vendor/guzzlehttp/guzzle/src/Client.php:108
 GuzzleHttp\Client->__construct() in /home/##########v/public_html/core/src/Revolution/modX.php:2759
 MODX\Revolution\modX->MODX\Revolution\{closure}() in /home/##########v/public_html/core/vendor/pimple/pimple/src/Pimple/Container.php:118
 Pimple\Container->offsetGet() in /home/##########v/public_html/core/src/Revolution/Services/Container.php:34
 MODX\Revolution\Services\Container->get() in /home/##########v/public_html/core/src/Revolution/Transport/modTransportProvider.php:539
 MODX\Revolution\Transport\modTransportProvider->getClient() in /home/##########v/public_html/core/src/Revolution/Transport/modTransportProvider.php:495
 MODX\Revolution\Transport\modTransportProvider->request() in /home/##########v/public_html/core/components/commerce/model/commerce/commerce.class.php:857
 Commerce->c() in /home/##########v/public_html/core/components/commerce/model/commerce/commerce.class.php:262
 Commerce->__construct() in /home/##########v/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php:1260
 xPDO\xPDO->getService() in /home/##########v/public_html/core/components/commerce/index.class.php:42
 CommerceManagerController->initialize() in /home/##########v/public_html/core/src/Revolution/modManagerResponse.php:108
 MODX\Revolution\modManagerResponse->outputContent() in /home/##########v/public_html/core/src/Revolution/modManagerRequest.php:174
 MODX\Revolution\modManagerRequest->prepareResponse() in /home/##########v/public_html/core/src/Revolution/modManagerRequest.php:144
 MODX\Revolution\modManagerRequest->handleRequest() in /home/##########v/public_html/manager/index.php:60

After much research I decided to upgrade to Commerce 1.11.0.

I ran into the error: Missing required extensions: gd

I couldn’t switch that extension on in PHP 8.3 as I couldn’t disable: nd_mysqli, nd_mysql, and nd_pdo_mysql.

Switched back to PHP 8.1. where the above extensions were already deselected and so I enabled gd.

Got the error: Missing required extensions: soap

Enabled that in PHP.

Installation then completed.

Glad you got it upgraded and working! We do recommend keeping up-to-date, so 1.11 as latest release was definitely right.

gd and soap are very standard extensions so it’s interesting those weren’t active by default. Suggests interesting choices on the PHP configuration…

Point taken.

Strange that I couldn’t change settings in PHP 8.3 but could in PHP 8.1. Who know whay.