- πΊπΈUnited States nsciacca
I couldn't apply the patch to 2.1 when using composer to manage patches, so I re-created it. Attaching in case anyone else needs.
- πΈπͺSweden pontus.froden
Patch in #3 works for me, latest dev version. Thanks!
After upgrading to PHP 7.4 we're seeing this message on pages where we have used a color field:
Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in color_field_hex2rgba() (line 137 of /code/sites/all/modules/contrib/color_field/color_field.module).
The code in color_field_hex2rgba() is using a legacy method of calling the implode() function which has been deprecated in PHP 7.4 and will be removed in PHP 8.0.
https://www.php.net/manual/en/function.implode.php#refsect1-function.imp...
The fix is to swap the order of parameters so the separator is listed first. A patch file is attached.
Active
2.1
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I couldn't apply the patch to 2.1 when using composer to manage patches, so I re-created it. Attaching in case anyone else needs.
Patch in #3 works for me, latest dev version. Thanks!