zoho / zsign-php-sdk

This SDK provides wrapper functions for Zoho Sign v1 API's Document Management and Template Management.
4 stars 7 forks source link

curl_setopt(): Disabling safe uploads is no longer supported #4

Closed drewe17 closed 1 year ago

drewe17 commented 1 year ago

Hello,

I am receiving the following error and not sure how to resolve. Thank you!

PHP Fatal error: Uncaught ValueError: curl_setopt(): Disabling safe uploads is no longer supported in php-sdk/src/ApiClient.php:103

drewe17 commented 1 year ago

I changed it to:

  curl_setopt( $curl, CURLOPT_SAFE_UPLOAD, true); //CHANGED FALSE TO TRUE

and that worked.