Saw the other issue #3208279: Undefined index: plugin at src/MigrationHelper.php:35 but it turns out, mine is different. The error message is

In DiscoveryTrait.php line 53:
                                                                                                                                                  
  The "" plugin does not exist. Valid plugin IDs for Drupal\migrate_plus\DataParserPluginManager are: my_custom_plugin, json, simple_xml, xml, soap                                                                                                                                            

When I remove the plugin alter, everything is back to normal.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jurgenhaas created an issue. See original summary.

pcate’s picture

I ran into this migration issue as well. It was causing all imports to fail. I needed both this patch and the one in https://www.drupal.org/project/inline_entity_form/issues/3208279 to resolve the issue.

sjhuskey’s picture

This solution worked for me. I was getting `The "" plugin does not exist.` related to Inline Entity Form. After installing this branch, those errors were gone.

geek-merlin’s picture

Does the related issue fix this?

junaidpv’s picture

StatusFileSize
new583 bytes

Above MR as patch file.

jurgenhaas’s picture

Re-rolled the MR for the latest code changes.

geek-merlin’s picture

damienmckenna’s picture

StatusFileSize
new581 bytes

The updated MR in patch format.

damienmckenna’s picture

Version: 8.x-1.0-rc9 » 8.x-1.x-dev
geek-merlin’s picture

Too many migration issues, many of which look overlapping or duplicate.
Postponing on parent issue.

anybody’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)
Related issues: +#3208279: Undefined index: plugin at src/MigrationHelper.php:35

99% sure I think this is a duplicate of #3221074: Implemented hook_migration_plugins_alter() breaks migrations, if shared configuration used in migration configs. which is the root cause of issue reported in core migration system: #3275819: Provide useful error message for: The "" plugin does not exist on Drupal 6 / 7 migrations (but isn't a core bug I think, but created by inline_entity_form).

Maintainers should have a look, but I think this should be closed as duplicate of #3221074: Implemented hook_migration_plugins_alter() breaks migrations, if shared configuration used in migration configs. and we should proceed there, as this issue just contains quickfixes, no solutions.

#3208279: Undefined index: plugin at src/MigrationHelper.php:35 was also closed as duplicate of #3221074: Implemented hook_migration_plugins_alter() breaks migrations, if shared configuration used in migration configs.. So I hope it's okay to do that @Axel?

BTW as this is indeed Major for migrations and hard to find, I'll set the other issue Major now.