New Fatal Error appeared in Drupal 8 beta 16 on manage display page, if metatag field added to Content Type:
Fatal error: Declaration of Drupal\metatag\Plugin\Field\FieldFormatter\MetatagEmptyFormatter::viewElements() must be compatible with Drupal\Core\Field\FormatterInterface::viewElements(Drupal\Core\Field\FieldItemListInterface $items, $langcode) in /metatag/src/Plugin/Field/FieldFormatter/MetatagEmptyFormatter.php on line 0

Comments

afi13 created an issue. See original summary.

afi13’s picture

afi13’s picture

Status: Active » Needs review

Status: Needs review » Needs work

Status: Needs work » Needs review
michelle’s picture

Status: Needs review » Reviewed & tested by the community

This fixed the error for me.

damienmckenna’s picture

Status: Reviewed & tested by the community » Fixed
Issue tags: -metatag, -field fomatter
Parent issue: » #2563605: Plan for Metatag 8.x-1.0-beta1 release

Committed. Thanks!

  • DamienMcKenna committed b9c5295 on 8.x-1.x authored by afi13
    Issue #2579865 by afi13: Fixed definition of MetatagEmptyFormatter::...

Status: Fixed » Closed (fixed)

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