- Status changed to Closed: duplicate
7 months ago 11:19pm 22 April 2024 - πΊπΈUnited States rschwab
Closing as a duplicate of π Dont use curl, use the drupal client instead RTBC
After I upped my PHP version to 8.0, I started getting following warnings in the log when adding a remote file:
Warning: Drupal\filefield_sources\Plugin\FilefieldSource\Remote::parseHeader(): Argument #1 ($ch) must be passed by reference, value given in Drupal\filefield_sources\Plugin\FilefieldSource\Remote::value() (line 70 of ***/public_html/web/modules/contrib/filefield_sources/src/Plugin/FilefieldSource/Remote.php)
Warning: Drupal\filefield_sources\Plugin\FilefieldSource\Remote::curlWrite(): Argument #1 ($ch) must be passed by reference, value given in Drupal\filefield_sources\Plugin\FilefieldSource\Remote::value() (line 169 of ***/public_html/web/modules/contrib/filefield_sources/src/Plugin/FilefieldSource/Remote.php)
Apart from the warnings, the functionality is intact.
Just use PHP 8 and try adding a remote file.
Install patch #9 from issue 2840594.
Commit issue 2840594.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Closing as a duplicate of π Dont use curl, use the drupal client instead RTBC