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.
I've noticed these php warnings in the Drupal log:
Notice: Undefined variable: node in _content_migrate_batch_process_migrate_data()
They're coming from this line:
$query->addExpression("'". $node['type'] ."'", 'bundle');
It doesn't seem to cause any problem with the migration, but I don't know if it will cause any problems later.
Comment | File | Size | Author |
---|---|---|---|
#1 | Screenshot_1.jpg | 40.96 KB | drm |
Comments
Comment #1
drm CreditAttribution: drm commentedIt's causing problems for my migration. Every field is failing. The instance gets created, but no data is converted. See attachment.
Comment #2
drm CreditAttribution: drm commentedI was having this problem (line 358, not 370) as well and I went to an old site that I converted and migrated a year ago. I found that the following few lines were in the CCK on that site but are missing on the current one:
Adding that in just after the // Process 100 nodes in each batch. comment on line 347 fixed it.
Comment #3
Carlos Miranda Levy CreditAttribution: Carlos Miranda Levy commentedIn case anyone is wondering where to add that code, it goes into modules/cck/modules/content_migrate/includes/content_migrate.admin.inc