Hi there,
I am hitting this issue after upgrading to Drupal 10.3.3, including updates to both the embed and entity_embed modules.
https://www.drupal.org/project/entity_embed/issues/3466609#comment-15764787
🐛
Entity Embed fails to install after Embed module update
Active
We've just upgraded to Drupal 10.3.3 and still get this error:
The website encountered an unexpected error. Try again later.
Error: Call to undefined method Drupal\embed\EmbedType\EmbedTypeBase::create() in Drupal\entity_embed\Plugin\EmbedType\Entity::create() (line 56 of modules/contrib/entity_embed/src/Plugin/EmbedType/Entity.php).
We have these requires:
"drupal/embed": "^1.7",
"drupal/entity_embed": "^1.6"
Updating the code to:
$instance = new Static($configuration, $plugin_id, $plugin_definition);
seems to fix the error.
Hello,
I had the same error message after upgrading to Drupal 10 and found that the issue was due to the deletion of the "Authenticated user" role. I don't know why this happened though. I use split configs and noticed that the role was moved from one split config to another, perhaps some permissions changed after a module update...., the error was on the branch where it had been removed from. Anyways, I just re added the role and all is good.
Cheers