WSOD ($form_state) must be of type FormStateInterface, Drupal\Core\Form\FormState given

Created on 19 January 2024, 5 months ago
Updated 5 February 2024, 5 months ago

Problem/Motivation

"PHP message: Uncaught PHP Exception TypeError: "google_calendar_service_inline_entity_form_entity_form_alter(): Argument #2 ($form_state) must be of type FormStateInterface, Drupal\Core\Form\FormState given, called in /mysite/html/core/lib/Drupal/Core/Extension/ModuleHandler.php on line 545" at /mysite/html/modules/contrib/google_calendar_service/google_calendar_service.module line 19" while reading response header from upstream, client:

I was adding content at
"http://mysite/node/add"

i am using inline_entity_form for the content type that I was trying to add.

it works for content that does not have IEF

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇺🇸United States SocialNicheGuru

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024