Conflicts with the Field Formatter Class module

Created on 5 July 2025, about 2 months ago

Problem/Motivation

If I try to use this module alongside the Field Formatter Class you get a fatal error when I try to a 'form' field to a view....

[05-Jul-2025 14:29:16 UTC] Uncaught PHP Exception Error: "Call to undefined method Drupal\views\Form\ViewsForm::getEntity()" at <site>\modules\contrib\field_formatter_class\field_formatter_class.module line 142

I cannot save the View successfully.

Temporarily removing the Field Formatter Class module solves the issue and I am able to make and use View containing a Form field.

Unfortunately, it is not possible to remove the Field Formatter Class since it used ubiquitously on our site as I suspect is the case in many others' too given it popularity.

🐛 Bug report
Status

Active

Component

Code

Created by

🇬🇧United Kingdom SirClickALot Somerset

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024