Problem/Motivation
After installing webprofiler module token_default is breaking our page.
TypeError: Drupal\token_default\TokenDefaultManager::__construct(): Argument #1 ($entityTypeManager) must be of type Drupal\Core\Entity\EntityTypeManager, Drupal\webprofiler\Entity\EntityManagerWrapper given, called in /app/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 262 in Drupal\token_default\TokenDefaultManager->__construct() (Zeile 26 in /app/web/modules/contrib/token_default/src/TokenDefaultManager.php)
Webprofiler extends entityTypeManager and when TokenDefaultManager gets it in the constructor it is not the class it expects anymore. Interface should be used instead of exact class.
Issue fork token_default-3358403
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 #3
useernamee commentedComment #4
useernamee commentedI've provided PR.
Comment #6
andy_w commentedGood spot, thanks for resolving
Comment #7
andy_w commented