Use the Drupal client instead of curl

Created on 25 April 2023, over 1 year ago
Updated 14 May 2023, over 1 year ago

FileField Sources has this related issue:
https://www.drupal.org/project/filefield_sources/issues/2840594 πŸ› Dont use curl, use the drupal client instead RTBC

Seeing errors like this:
Warning: Drupal\filefield_sources\Plugin\FilefieldSource\Remote::curlWrite(): Argument #1 ($ch) must be passed by reference, value given in Drupal\filefield_sources_jsonapi\Plugin\FilefieldSource\RemoteJSONAPI::value() (line 269 of /public/modules/contrib/filefield_sources_jsonapi/src/Plugin/FilefieldSource/RemoteJSONAPI.php)

Attached patch seems to work/remove errors.

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Nels

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024