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.
Issue fork flat_taxonomy-3115794
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:
Comments
Comment #6
vbouchetThank you @GlarDup for reporting and @d70rr3s for fixing it. I will create a new release with the fix.