Problem/Motivation

Error while loading site pages that renders the thumbnails:

Fatal error:
Declaration of Drupal\media_thumbnails_video\Plugin\Field\FieldFormatter\VideoExtendedFormatter::viewElements(Drupal\Core\Field\FieldItemListInterface $items, $langcode) must be compatible with Drupal\file\Plugin\Field\FieldFormatter\FileVideoFormatter::viewElements(Drupal\Core\Field\FieldItemListInterface $items, $langcode): array in /code/web/modules/contrib/media_thumbnails_video/src/Plugin/Field/FieldFormatter/VideoExtendedFormatter.php on line 52

Command icon 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

rigoucr created an issue. See original summary.

rigoucr’s picture

Issue summary: View changes

rigoucr’s picture

Status: Active » Needs review
StatusFileSize
new716 bytes

Providing MR and patch

lamp5’s picture

Version: 2.0.2 » 2.0.x-dev
Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

lamp5’s picture

Status: Fixed » Needs work

We need to add to composer.json info about Drupal version for the next release.