Problem

Conflict with Devel Webprofiler:

TypeError: Argument 1 passed to Drupal\flat_taxonomy\Flattener::__construct() must be an instance of Drupal\Core\Entity\EntityTypeManager, instance of Drupal\webprofiler\Entity\EntityManagerWrapper given, called in /var/www/html/sites/symbios/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 269 in Drupal\flat_taxonomy\Flattener->__construct() (line 36 of modules/contrib/flat_taxonomy/src/Flattener.php).

Proposed solution

In Flattener.php: use Drupal\Core\Entity\EntityTypeManagerInterface instead of Drupal\Core\Entity\EntityTypeManager.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

GlarDup created an issue. See original summary.

d70rr3s made their first commit to this issue’s fork.

vbouchet made their first commit to this issue’s fork.

vbouchet’s picture

Version: 8.x-1.1 » 8.x-1.x-dev
Status: Active » Fixed

Thank you @GlarDup for reporting and @d70rr3s for fixing it. I will create a new release with the fix.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.