You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all thanks for creating this library. I'm using this for a year now and it works great.
Unfortunately, a couple of days ago, I updated PHP 7.4 -> 8.1 and now I get an error in the RestCurlClient.php file.
I managed to solve the issue, but I'm not sure if this is the correct/best solution.
Between the line numbers 328 (curl_init) and 329 (curl_setopt_array) I added this code:
if (isset($this->curlOptions[0]) && (strlen($this->curlOptions[0]) == 0)) {
unset($this->curlOptions[0]);
}
if (isset($this->curlOptions[1]) && (strlen($this->curlOptions[1]) == 0)) {
unset($this->curlOptions[1]);
}
Is it possible to check this maybe?
Thanks in advance and regards.
The text was updated successfully, but these errors were encountered:
Hi,
First of all thanks for creating this library. I'm using this for a year now and it works great.
Unfortunately, a couple of days ago, I updated PHP 7.4 -> 8.1 and now I get an error in the RestCurlClient.php file.
I managed to solve the issue, but I'm not sure if this is the correct/best solution.
Between the line numbers 328 (curl_init) and 329 (curl_setopt_array) I added this code:
Is it possible to check this maybe?
Thanks in advance and regards.
The text was updated successfully, but these errors were encountered: