Currently when selecting "Slick Media" as a media entity reference display formatter the loading animation appears and gets stuck and it's not possible to configure it.
The log shows the following error:
TypeError: Argument 9 passed to Drupal\slick\Plugin\Field\FieldFormatter\SlickEntityReferenceFormatterBase::__construct() must be an instance of Drupal\slick\Plugin\Field\FieldFormatter\ImageFactory, instance of Drupal\Core\Image\ImageFactory given, called in /var/www/html/maritimetas/modules/slick/src/Plugin/Field/FieldFormatter/SlickEntityReferenceFormatterBase.php on line 60 in Drupal\slick\Plugin\Field\FieldFormatter\SlickEntityReferenceFormatterBase->__construct() (line 34 of /var/www/html/maritimetas/modules/slick/src/Plugin/Field/FieldFormatter/SlickEntityReferenceFormatterBase.php)
The cause is a missing use.
| Comment | File | Size | Author |
|---|---|---|---|
| add_core_imagefactory_to_slickentityreferenceformatterbase-0.patch | 637 bytes | imclean |
Comments
Comment #2
imclean commentedComment #4
gausarts commentedCommitted. Thank you for contribution!