On a clean install, I get the following error message. DB = PostgreSQL 9.6.0
system module
Update add_region_to_entity_displaysFailed: Drupal\Component\Plugin\Exception\PluginNotFoundException: The "media" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 133 of /var/www/html/core/lib/Drupal/Core/Entity/EntityTypeManager.php).
The 5 pending updates remain, i.e. Drupal tries to do the db updates but can't, so keeps showing on status report.
Comments
Comment #2
cilefen commentedComment #3
cilefen commentedComment #4
cilefen commentedAlso see this one.
Comment #5
berdir> Failed: Drupal\Component\Plugin\Exception\PluginNotFoundException: The "media" entity type does not exist.
There is no media entity type, not in core and likely also not in another module.
Did you have the work in progress media patch applied at some point to test it? That's not supported on actual site, you might have broken, left-over configuration from that in your system, that can only be cleaned up manually.
Comment #6
targoo commentedSimilar issue with Drupal\Component\Plugin\Exception\PluginNotFoundException: The "file" plugin does not exist. in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 52 of /var/www/drupal/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).
Comment #7
berdirthat says plugin, not entity type. See my suggestions in #2869773: Upgrade to 8.3.0: PluginNotFoundException: The "entity_reference_autocomplete_category" plugin does not exist, export config, re-save settings of that form display.
Comment #8
spanners commentedBeen stuck on this for some time. I updated from 8.2.8 to 8.3.1 with composer and I get the same errors both through drush and Drupal admin.
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "entity_reference_autocomplete_category" plugin does not exist. in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 52 of /path_to_drupal_8_site/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).
My Drupal site is pretty bare bones. I've made one content type with a Title and Image field. I even deleted that and still I get the errors.
I tried disabling every module I installed and still I get the error.
This really sucks because there is a Views update as well, and because I can't run the DB updates, I can't even create a View (I get "An illegal choice has been detected").
I've looked at this and every other thread on this issue and none of the solutions have helped.
Looks like I'm rolling back core.
Comment #9
sloaneguy commentedI am getting the same error message when i run update.php:
system module
Update add_region_to_entity_displays
Failed: Drupal\Component\Plugin\Exception\PluginNotFoundException: The "media" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 133 of /home/mitralvalvesurg/public_html/core/lib/Drupal/Core/Entity/EntityTypeManager.php).
Is there a fix out there for this? I can't figure it out or find one.
Comment #10
cilefen commentedWhat version of Drupal is this? Is the media module still in place on the filesystem?
Comment #11
nagarsethMy plugin exception is the "date" plugin.
Comment #12
cilefen commented#9, see #5.
Comment #13
cilefen commentedComment #14
volegerComment #19
quietone commentedThe title here does not match the error message in the Issue Summary, updating the title.
The comments contain references to two different errors: 'The "media" entity type does not exist.' and 'The 'some_plugin does not exist.' This issue is for the first error, anyone with the second error, about plugins should read comment #7.
As pointed out in #5, the media entity type did not exist in core at the time this issue was created, 5 years ago. So, changing to a support request. #5 also states the solution is to clean up manually.
Therefore closing this as fixed.