Problem/Motivation

When I try create a new Modal, my site breaks and give the error:

The website encountered an unexpected error. Please try again later.
ArgumentCountError: Too few arguments to function Drupal\Core\Entity\ContentEntityForm::__construct(), 1 passed in /app/modules/contrib/ik_modals/src/Form/ModalForm.php on line 52 and exactly 3 expected in Drupal\Core\Entity\ContentEntityForm->__construct() (line 56 of core/lib/Drupal/Core/Entity/ContentEntityForm.php).

I'm using Drupal 9.2.0 version.

Steps to reproduce

Install the module
Try create a Modal in Content -> Modals
You'll see the error.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 3219965-2.patch2.35 KBlarisse

Comments

larisse created an issue. See original summary.

larisse’s picture

Status: Active » Needs review
StatusFileSize
new2.35 KB

I solve the problem with this patch.

larisse’s picture

Assigned: larisse » Unassigned
Status: Needs review » Closed (duplicate)

This is duplicated from issue #3219630. Can to be closed.