Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Migration run from D6 run several migrations and then stops the batch process.
PHP logs show this message
[03-Oct-2014 13:10:22 Europe/Berlin] Uncaught PHP Exception Drupal\migrate\MigrateException: "Failed to lookup array (
0 => 'text',
1 => 'hidden',
) in the static map." at /Users/pedro/Sites/core/8.x/core/modules/migrate_drupal/src/Plugin/migrate/process/d6/FieldTypeDefaults.php line 33
Some migrations seems to have run successful, others don't.
Comments
Comment #1
Pedro Lozano CreditAttribution: Pedro Lozano commentedComment #2
benjy CreditAttribution: benjy commentedSeems more like a core migrate issue than anything todo with the UI.
Comment #3
ultimike@Pedro Lozano,
Can you provide a little more context for the error? Were you running a full site migration? Do you get the same error when running the migration from Drush?
-mike
Comment #4
matason CreditAttribution: matason commentedI'm experiencing the same issue whilst attempting to migrate a Drupal 6 site to Drupal 8.
I'm starting with a clean Drupal 8 install using the standard profile then I delete the basic page and article content types then I run:
drush migrate-manifest manifest.yml --legacy-db-url=<my-db-url>
My manifest.yml contains the following:
and the error I get is:
Comment #5
matason CreditAttribution: matason commentedI made this change to core/modules/migrate_drupal/src/Plugin/migrate/process/d6/FieldTypeDefaults.php
which appears to allow me to get beyond the original error although a bunch of these errors:
appeared when I re-ran the migration.
I'll see what the outcome is, perhaps I need to create plugins for the missing fields...
Comment #6
ultimike@matason,
Let's mark this one as a duplicate of #2361401: Skip the row when we don't recognize the the field type - let's continue this discussion there.
Thanks,
-mike