Constructor type error when enable webprofiler module

Created on 1 December 2020, almost 4 years ago
Updated 1 September 2023, about 1 year ago

Problem/Motivation

When Devel's webprofiler module is enabled, the following error occurs:
TypeError: Argument 4 passed to Drupal\events_logging\Logger::__construct() must be an instance of Drupal\Core\Entity\EntityTypeManager, instance of Drupal\webprofiler\Entity\EntityManagerWrapper given

Proposed resolution

Change __construct function fourth argument to use EntityTypeManagerInterface instead of EntityTypeManager

🐛 Bug report
Status

Fixed

Version

1.5

Component

Code

Created by

🇯🇵Japan andrechun

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