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

Comments

raileanuaniela created an issue. See original summary.

raileanuaniela’s picture

StatusFileSize
new586 bytes

Attached patch works fine for me.

raileanuaniela’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 2: missing_fielditeminterface-2623730-1.patch, failed testing.

targoo’s picture

Status: Needs work » Closed (fixed)

thanks raileanuaniela for the patch!