- Issue created by @vishalkhode
- 🇮🇳India vishalkhode
The issue is with Site Studio module. Until Site Studio team fixes the issue, we can use the following patch: https://www.drupal.org/files/issues/2024-06-26/cohesion-3457220.patch →
Clicking the Browse button of the Media Browser throws following error on Drupal Core 10.3.0.
Uncaught PHP Exception RuntimeException: "media_library.opener.cohesion must be an instance of Drupal\media_library\MediaLibraryOpenerInterface" at /site1/docroot/core/modules/media_library/src/OpenerResolver.php line 46
Starting from Drupal Core 10.3.0, the media_library.opener_resolver
service is converted to a service collector with the tag media_library.opener
. Therefore, any custom media_library opener must be tagged with media_library.opener, or else it will result in an error. Currently, the Site Studio module provides a media_library opener that is not tagged, causing this error.
See:
📌
Convert OpenerResolver to use a service locator
Fixed
Active
1.0
Code
The issue is with Site Studio module. Until Site Studio team fixes the issue, we can use the following patch: https://www.drupal.org/files/issues/2024-06-26/cohesion-3457220.patch →