Closed sergiuec closed 1 year ago
@sergiuec which version of the SDK are you using? This should be fixed in 6.36.0 and you should be able to upgrade to that version without problems.
Looks like the version is: 6.38.0 composer.lock:
"name": "ingenico-epayments/connect-sdk-php",
"version": "6.38.0"
the command: composer update ingenico-epayments/connect-sdk-php
returns "Nothing to install, update or remove"
In case may be useful this is the source from composer.lock:
"source": {
"type": "git",
"url": "https://github.com/Ingenico-ePayments/connect-sdk-php.git",
"reference": "xx"
},
@sergiuec thanks. I’ll inform the team that develops the SDK.
@sergiuec since this should be fixed in the SDK I'm going to close this issue. Is that okay with you?
Hello, There is a deprecated function in sdk. It's reproducible only in production mode.
report.EMERGENCY: Unable to perform request using communicator configuration: Deprecated Functionality: curl_multi_exec(): Passing null to parameter #2 ($still_running) of type int is deprecated in /vendor/ingenico-epayments/connect-sdk-php/lib/Ingenico/Connect/Sdk/DefaultConnection.php on line 206 [] []
Fixed by defining the
$runing
variable before passing it tocurl_multi_exec
@@ -202,6 +202,7 @@ private function executeCurlHandleShared($multiHandle, $curlHandle) { $running = 0;
PHP 8.1.17 Module Version: 3.0.2 Magento Version: Commerce Cloud 2.4.5-p2