Problem/Motivation
PHP Fatal error: Type of Drupal\acquia_dam\Plugin\Field\FieldFormatter\AcquiaDamMediaThumbnailFormatter::$renderer must be Drupal\Core\Render\RendererInterface (as in class Drupal\media\Plugin\Field\FieldFormatter\MediaThumbnailFormatter) in /var/www/docroot/modules/contrib/acquia_dam/src/Plugin/Field/FieldFormatter/AcquiaDamMediaThumbnailFormatter.php on line 21
Fatal error: Type of Drupal\acquia_dam\Plugin\Field\FieldFormatter\AcquiaDamMediaThumbnailFormatter::$renderer must be Drupal\Core\Render\RendererInterface (as in class Drupal\media\Plugin\Field\FieldFormatter\MediaThumbnailFormatter) in /var/www/docroot/modules/contrib/acquia_dam/src/Plugin/Field/FieldFormatter/AcquiaDamMediaThumbnailFormatter.php on line 21
Steps to reproduce
With Drupal 11.4, the code is not compatible.
Proposed resolution
fix the definition.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3607942-acquia-dam-php-compatibility.patch | 624 bytes | nehajyoti |
Issue fork acquia_dam-3607942
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
nehajyoti commentedComment #5
thoward216 commentedI just came across this issue also, I've created a branch & MR to move this forward.
Comment #6
thoward216 commentedComment #9
rajeshreeputraMR merged!
Comment #12
danflanagan8Can we please get that into a new 1.1.x release or put out a 1.2.x release?
This is at least a major if not critical issue. Without this fix the acquia_dam module brings down a site running on D11.4.x.