Created on 19 June 2021, over 3 years ago
Updated 18 September 2024, 4 months ago

Problem/Motivation

I have installed the module with Drupal 9.2.0. Add popup is broken :

The website encountered an unexpected error. Please try again later.
TypeError: Argument 1 passed to Drupal\simple_popup_blocks\Form\SimplePopupBlocksAddForm::__construct() must be an instance of Drupal\Core\Entity\EntityTypeManager, instance of Drupal\webprofiler\Entity\EntityManagerWrapper given, called in /home/var/www/enabel/sites/wehubit/web/modules/contrib/simple_popup_blocks/src/Form/SimplePopupBlocksAddForm.php on line 64 in Drupal\simple_popup_blocks\Form\SimplePopupBlocksAddForm->__construct() (line 51 of modules/contrib/simple_popup_blocks/src/Form/SimplePopupBlocksAddForm.php).

Steps to reproduce

Install the module with Drupal 9.2.0, go to Configuration > Media > Add simple popup block

Proposed resolution

Patch attached fix the problem

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium charlus Bruxelles

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024