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
The solution is to rewrite line 45 in vendor/activecollab/activecollab-sdk/ActiveCollab/Connectors/Curl.php:
// $post_data['attachment_' . $counter++] = '@' . $file . ';type=application/octet-stream';
$post_data['attachment_' . $counter++] = new \CURLFile($file, mime_content_type($file));
The text was updated successfully, but these errors were encountered:
"As of PHP 5.6 @$filePath will not work in CURLOPT_POSTFIELDS without CURLOPT_SAFE_UPLOAD being set and it is completely removed in PHP 7."
https://stackoverflow.com/questions/21905942/posting-raw-image-data-as-multipart-form-data-in-curl
The solution is to rewrite line 45 in vendor/activecollab/activecollab-sdk/ActiveCollab/Connectors/Curl.php:
// $post_data['attachment_' . $counter++] = '@' . $file . ';type=application/octet-stream';
$post_data['attachment_' . $counter++] = new \CURLFile($file, mime_content_type($file));
The text was updated successfully, but these errors were encountered: