Communicate when there is a missing plugin declaration rather than crashing

Created on 12 January 2024, 11 months ago

Problem/Motivation

When running `drush migrate:status` I get the error: Migrate Module: TypeError: Cannot access offset of type string on string in /var/www/docroot/core/modules/migrate/src/Plugin/Migration.php on line 744.

Steps to reproduce

Make a basic error in your YML file, in which you accidentally omit the plugin:

process:
  langcode:
    #plugin: default_value
    default_value: und
πŸ“Œ Task
Status

Active

Version

10.1 ✨

Component
MigrationΒ  β†’

Last updated about 4 hours ago

Created by

πŸ‡ΊπŸ‡ΈUnited States cmah

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024