When loading the configuration page (/admin/config) with both oembed_providers and web_profiler installed, it errors with the following message:
The website encountered an unexpected error. Please try again later.
TypeError: Argument 2 passed to Drupal\oembed_providers\OEmbed\ProviderRepositoryDecorator::__construct() must be an instance of Drupal\Core\Entity\EntityTypeManager, instance of Drupal\webprofiler\Entity\EntityManagerWrapper given, called in /var/www/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 289 in Drupal\oembed_providers\OEmbed\ProviderRepositoryDecorator->__construct() (line 93 of modules/contrib/oembed_providers/src/OEmbed/ProviderRepositoryDecorator.php).
This is due to a few functions type hinting with the default implementations, not their respective interfaces.
Comments
Comment #2
s.abbott commentedHere is a proposed fix.
Comment #3
chris burge commentedComment #5
chris burge commentedThanks for documenting this issue and submitting a patch