Account created on 10 February 2023, about 2 years ago
#

Recent comments

In my case, I get "Terminated in abnormally" when I try to migrate with "drush mim d7_views_migration". I find this happening because some of the view migrations are encountering error that will stuck the whole process and put d7_views_migration to "Importing" status. Part of my error message:


[error] Error: Call to a member function getConfigDependencyKey() on null in Drupal\taxonomy\Plugin\views\filter\TaxonomyIndexTid->calculateDependencies() (line 427 of /var/www/brd3/web/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php) #0 /var/www/brd3/web/core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php(71): Drupal\taxonomy\Plugin\views\filter\TaxonomyIndexTid->calculateDependencies()

I went to Drupal 7 database to show all view IDs of my site with

select name,human_name from views_view;

Then manually migrate one view at a time.
drush mim d7_views_migration --idlist={name}

If error occuors, just
drush mrs d7_views_migration

And skip this failed view and move to migrate the next. Managed to get most of the views back.

In my case, I get "Terminated in abnormally" when I try to migrate with "drush mim d7_views_migration". I find this happening because some of the view migrations are encountering error that will stuck the whole process and put d7_views_migration to "Importing" status. Part of my error message:


[error] Error: Call to a member function getConfigDependencyKey() on null in Drupal\taxonomy\Plugin\views\filter\TaxonomyIndexTid->calculateDependencies() (line 427 of /var/www/brd3/web/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php) #0 /var/www/brd3/web/core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php(71): Drupal\taxonomy\Plugin\views\filter\TaxonomyIndexTid->calculateDependencies()

I went to Drupal 7 database to show all view IDs of my site with

select name,human_name from views_view;

Then manually migrate one view at a time.
drush mim d7_views_migration --idlist={name}

If error occuors, just
drush mrs d7_views_migration

And skip this failed view and move to migrate the next. Managed to get most of the views back.

Production build 0.71.5 2024