Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Recoverable fatal error: Argument 1 passed to Drupal\color_field\Plugin\Field\FieldFormatter\ColorFieldFormatterSwatch::viewValue() must implement interface Drupal\Core\Field\FieldItemListInterface, instance of Drupal\color_field\Plugin\Field\FieldType\ColorFieldType given, called in /var/www/drupal/modules/color_field/src/Plugin/Field/FieldFormatter/ColorFieldFormatterSwatch.php on line 136 and defined in /var/www/drupal/modules/color_field/src/Plugin/Field/FieldFormatter/ColorFieldFormatterSwatch.php on line 149
Comment | File | Size | Author |
---|---|---|---|
#2 | missing_fielditeminterface-2623730-1.patch | 586 bytes | raileanuaniela |
|
Comments
Comment #2
raileanuaniela CreditAttribution: raileanuaniela at REEA commentedAttached patch works fine for me.
Comment #3
raileanuaniela CreditAttribution: raileanuaniela at REEA commentedComment #6
targoo CreditAttribution: targoo at MariqueCalcus commentedthanks raileanuaniela for the patch!