After installing module (using composer), and adding the Wistia video field to the content type -- I am getting the next error:

Fatal error: Declaration of Drupal\wistia_integration\Plugin\Field\FieldFormatter\WistiaFieldFormatter::create(Symfony\Component\DependencyInjection\ContainerInterface $container, $plugin_id, $plugin_definition, Drupal\Core\Field\FieldDefinitionInterface $field_definition, array $settings, $label, $view_mode, array $third_party_settings) must be compatible with Drupal\Core\Field\FormatterBase::create(Symfony\Component\DependencyInjection\ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) in /var/www/docroot/modules/contrib/wistia_integration/src/Plugin/Field/FieldFormatter/WistiaFieldFormatter.php on line 0

I assume this is because of an outdated, as for Drupal 8.8, constructor parameters list.

Comments

NightHunterSV created an issue. See original summary.

NightHunterSV’s picture

Patch attached resolves an issue for me.

hamrant’s picture

Status: Needs review » Reviewed & tested by the community

Looks good

chintan.vyas’s picture

StatusFileSize
new1.32 KB

Added a modified patch to use the renderer service.

chintan.vyas’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.