Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I detected the RestUI Manager use EntityManagerWrapper class directly instead of use the EntityManagerInterface. The current implementation also have a conflict if you try to use the module Webprofiler
The error message related is similar like this
Recoverable fatal error: Argument 1 passed to Drupal\restui\RestUIManager::__construct() must be an instance of Drupal\Core\Entity\EntityManager, instance of Drupal\webprofiler\Entity\EntityManagerWrapper given, called in /Users/enzo/www/drupal8beta16/core/lib/Drupal/Component/DependencyInjection/Container.php on line 265 and defined in Drupal\restui\RestUIManager->__construct() (line 34 of /Users/enzo/www/drupal8beta16/modules/contrib/restui/src/RestUIManager.php).
Comment | File | Size | Author |
---|---|---|---|
#2 | replace-2579477-2.patch | 627 bytes | -enzo- |
Comments
Comment #2
-enzo- CreditAttribution: -enzo- at Anexus commenteddid a patch to resolve future problems and use the EntityManager Interface