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
Comments
Comment #2
larisse commentedI solve the problem with this patch.
Comment #3
larisse commentedThis is duplicated from issue #3219630. Can to be closed.