Problem/Motivation
Error: Using $this when not in object context in Drupal\entity_reference_display\Plugin\Field\FieldFormatter\EntityReferenceRevisionsDisplayFormatter::isApplicable() (line 117 of modules/contrib/entity_reference_display/src/Plugin/Field/FieldFormatter/EntityReferenceDisplayFormatterTrait.php).
Issue fork entity_reference_display-3482919
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 #3
saidatomComment #4
anybodyConfirming RTBC, but DI would be the preferred way. Leaving this for the maintainer to decide.
Thinking about this a bit I think it can't use DI as the call causing this is a static call?
@saidatom could you provide a stack trace maybe to see where this comes from?
Comment #5
cbTested;
Unpatched; Visit admin > structure > page (type) > display
Throws error message on white page of death.
Patched; Visit admin > structure > page (type) > display
Shows correct node type display form.
RTBC ✅
Comment #8
eleonelThanks!
Comment #9
eleonel