Problem/Motivation
PHP Fatal error: Declaration of Drupal\\video\\Plugin\\Field\\FieldFormatter\\VideoPlayerFormatterBase::getEntitiesToView(Drupal\\Core\\Field\\EntityReferenceFieldItemListInterface $items, $langcode) must be compatible with Drupal\\Core\\Field\\Plugin\\Field\\FieldFormatter\\EntityReferenceFormatterBase::getEntitiesToView(Drupal\\Core\\Field\\FieldItemListInterface $items, $langcode) in /home/jenkins/workspace/D9_SANDBOX_LILY_STANDARD_VIRTUAL_Y/build/docroot/modules/contrib/video/src/Plugin/Field/FieldFormatter/VideoPlayerFormatterBase.php on line 17
Steps to reproduce
PHP 8.1
Drupal Core 9.4.x
Proposed resolution
Fix
Remaining tasks
Patch
User interface changes
No
API changes
No
Data model changes
No
Issue fork video-3305673
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 #4
podarokComment #6
froboy@podarok I believe recreating this issue requires https://github.com/YCloudYUSA/yusaopeny_gated_content to be installed, seeing as you were able to recreate it on the Virtual Y sandbox.