- 🇳🇿New Zealand quietone
The original report doesn't have steps to reproduce. However, later examples do and it seemed that this is not specific to the media module. I did some searching and found similar reports in the extension system. The closest match to this is 🐛 Improperly deployed *missing* entity table breaks module uninstall Needs work . Therefor, I am closing this as a duplicate of that one.
The good news is that there is a patch over there.
- 🇬🇧United Kingdom Alina Basarabeanu
Re-running the media install fixed the issue for me.
ddev drush php:eval "Drupal::entityDefinitionUpdateManager()->installEntityType(Drupal::entityTypeManager()->getDefinition('media'))"
- 🇫🇷France MajorMoha
#12 worked for me, but it was throwing an exception when I executed it using drush php:eval.
instead I added the code to a php file and called it rebuildmedia.php and placed at website root level, then I executed it as following:drush php:srcipt rebuildmedia.php