PHP Fatal error: Type of Drupal\field_slideshow\Plugin\Field\FieldFormatter\FieldSlideshow::$fileUrlGenerator must be Drupal\Core\File\FileUrlGeneratorInterface (as in class Drupal\image\Plugin\Field\FieldFormatter\ImageFormatter) in /var/www/html/docroot/modules/contrib/field_slideshow/src/Plugin/Field/FieldFormatter/FieldSlideshow.php on line 32
ArgumentCountError: Too few arguments to function Drupal\image\Plugin\Field\FieldFormatter\ImageFormatter::__construct(), 10 passed in /app/web/modules/contrib/field_slideshow/src/Plugin/Field/FieldFormatter/FieldSlideshow.php on line 108 and exactly 11 expected in Drupal\image\Plugin\Field\FieldFormatter\ImageFormatter->__construct() (line 32 of /var/www/html/docroot/core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php).
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | field_slideshow-d11.4-compat.patch | 2.34 KB | kerasai |
Comments
Comment #2
kerasai commentedComment #3
kerasai commentedFound a secondary issue that was throwing error during (1) migration from D7 and (2) when viewing the manage form display screens.
Attached a patch that addresses both issues.