Problem/Motivation
I have this error when trying to use drush command when orejime is installed:
You have requested a non-existent service "media.oembed.resource_fetcher".
Proposed resolution
I realized that the Media module providing the service "media.oembed.resource_fetcher" was not active on that website. After activating Media module, I was then able to run drush commands without error.
Maybe Orejime should add a dependencie to Media to avoid this situation even if media is probably enabled on many sites.
EDIT: Or maybe orejime shoul not call this service if the media module is not enabled?
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 3546724-7.patch | 601 bytes | johnatas |
Issue fork orejime-3546724
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 #2
davidiio commentedComment #5
johnatas commentedHello,
I’ve just opened a MR that adds the missing dependencies:
drupal:mediaused in OEmbedOrejimeFormatter + OrejimeResourceFetcherdrupal:viewsused in OrejimeViewsDataComment #6
johnatas commentedComment #7
johnatas commentedHello,
Attached is a patch for version 3.0.0-alpha2 of the module.
Comment #8
fabsgugu commentedHello,
I don't think it is necessary to put in required "drupal:content_translation".
Comment #9
johnatas commentedHey,
You're right, that was my mistake — it's fixed now. 😉
Comment #10
fabsgugu commented