epp_field_config_form_builder(): Argument #2 ($fieldConfig) must be of type FieldConfigInterface

Created on 20 March 2023, almost 2 years ago

Problem/Motivation

The website encountered an unexpected error. Please try again later.
TypeError: epp_field_config_form_builder(): Argument #2 ($fieldConfig) must be of type FieldConfigInterface, Drupal\field\Entity\FieldConfig given in epp_field_config_form_builder() (line 129 of modules/contrib/epp/epp.module).

epp_field_config_form_builder()
call_user_func_array() (Line: 299)
Drupal\Core\Entity\EntityForm->buildEntity() (Line: 170)
Drupal\Core\Entity\EntityForm->afterBuild()
call_user_func_array() (Line: 1081)
Drupal\Core\Form\FormBuilder->doBuildForm() (Line: 577)
Drupal\Core\Form\FormBuilder->processForm() (Line: 323)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 73)
Drupal\Core\Controller\FormController->getContentResult() (Line: 39)
Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController->getContentResult()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23)
Stack\StackedHttpKernel->handle() (Line: 718)
Drupal\Core\DrupalKernel->handle() (Line: 19)

Steps to reproduce

Add a decimals or float field to a content type (tested on a totally newly created one without any other settings) and try to save the field settings.
D9.5.5.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇦🇹Austria maxilein

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

Comments & Activities

Production build 0.71.5 2024