Fatal error: plugin csv not found
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #2818891. -->
Reported by: [grimreaper](https://www.drupal.org/user/2388214)
>>>
<p>Hello,</p>
<p>After updating to 8.x-2.0-rc1, I got the following fatal error:</p>
<pre>Drupal\Component\Plugin\Exception\PluginNotFoundException: The "csv" plugin does not exist. in /project/www/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php:52 [error]<br>Stack trace:<br>#0 /project/www/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php(25): Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition(Array, 'csv', true)<br>#1 /project/www/core/modules/migrate/src/Plugin/MigratePluginManager.php(54): Drupal\Core\Plugin\DefaultPluginManager->getDefinition('csv')<br>#2 /project/www/core/modules/migrate/src/Plugin/Migration.php(335): Drupal\migrate\Plugin\MigratePluginManager->createInstance('csv', Array, Object(Drupal\migrate\Plugin\Migration))<br>#3 /project/www/core/modules/migrate/src/Plugin/PluginEventSubscriber.php(30): Drupal\migrate\Plugin\Migration->getSourcePlugin()<br>#4 /project/www/core/modules/migrate/src/Plugin/PluginEventSubscriber.php(48): Drupal\migrate\Plugin\PluginEventSubscriber->invoke('preImport', Object(Drupal\migrate\Event\MigrateImportEvent), 'Drupal\\migrate\\...')<br>#5 [internal function]: Drupal\migrate\Plugin\PluginEventSubscriber->preImport(Object(Drupal\migrate\Event\MigrateImportEvent), 'migrate.pre_imp...', Object(Drupal\webprofiler\TraceableEventDispatcher))<br>#6 /project/www/vendor/symfony/event-dispatcher/Debug/WrappedListener.php(61): call_user_func(Array, Object(Drupal\migrate\Event\MigrateImportEvent), 'migrate.pre_imp...', Object(Drupal\webprofiler\TraceableEventDispatcher))<br>#7 /project/www/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(Object(Drupal\migrate\Event\MigrateImportEvent), 'migrate.pre_imp...',<br>Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))<br>#8 /project/www/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php(140): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('migrate.pre_imp...', Object(Drupal\migrate\Event\MigrateImportEvent))<br>#9 /project/www/core/modules/migrate/src/MigrateExecutable.php(180): Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch('migrate.pre_imp...', Object(Drupal\migrate\Event\MigrateImportEvent))<br>#10 /project/www/vendor/drush/drush/includes/drush.inc(720): Drupal\migrate\MigrateExecutable->import()<br>#11 /project/www/vendor/drush/drush/includes/drush.inc(711): drush_call_user_func_array(Array, Array)<br>#12 /project/www/modules/contrib/migrate_tools/migrate_tools.drush.inc(280): drush_op(Array)<br>#13 [internal function]: _drush_migrate_tools_execute_migration(Object(Drupal\migrate\Plugin\Migration), 'drupalcampfr_fi...', Array)<br>#14 /project/www/modules/contrib/migrate_tools/migrate_tools.drush.inc(246): array_walk(Array, '_drush_migrate_...', Array)<br>#15 /project/www/vendor/drush/drush/includes/command.inc(371): drush_migrate_tools_migrate_import('drupalcampfr_fi...')<br>#16 /project/www/vendor/drush/drush/includes/command.inc(222): _drush_invoke_hooks(Array, Array)<br>#17 /project/www/vendor/drush/drush/includes/command.inc(190): drush_command('drupalcampfr_fi...')<br>#18 /project/www/vendor/drush/drush/lib/Drush/Boot/BaseBoot.php(67): drush_dispatch(Array)<br>#19 /project/www/vendor/drush/drush/includes/preflight.inc(66): Drush\Boot\BaseBoot->bootstrap_and_dispatch()<br>#20 /project/www/vendor/drush/drush/drush.php(12): drush_main()<br>#21 {main}</pre><p>I found a solution and will update a patch.</p>
> Related issue: [Issue #2781573](https://www.drupal.org/node/2781573)
issue