- ๐ฎ๐ณIndia Binoli Lalani Gujarat
Binoli Lalani โ made their first commit to this issueโs fork.
- ๐บ๐ธUnited States mark_fullmer Tucson
You are likely getting this error because of the version of the `embed/embed` library that your codebase is using. Specifically, you describe this step:
Embed library installed using composer require embed\embed
Without any other parameters, this would cause version 4 of that library to be added, since that is the latest supported version. In that version, the Embed\Embed::create() method has been removed.
You indicate that you are using version
8.x-1.0-beta1
of this Drupal module, url_embed, which is compatible with version 3 of embed/embed.You can resolve this by the following:
1.
composer remove embed/embed
(which will remove the explicitly dependency from your composer.json
2. Run eithercomposer require drupal/url_embed ^1 -W
orcomposer require drupal/url_embed ^2 -W
, which will retrieve either v3 or v4 ofembed/embed
to match the expected version by the module.