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.
After running migration the following error occurs when trying to edit an imported node: Fatal error: Call to a member function isNewRevision() on null in core/modules/node/src/NodeForm.php on line 141.
When trying to view the node the following error occurs: Fatal error: Call to a member function displaySubmitted() on null in core/modules/node/node.module on line 606.
Comments
Comment #2
mpp CreditAttribution: mpp at AmeXio commentedSeems like you have to specify $node->changed when comment.module is enabled. (https://www.drupal.org/node/1876394).
Comment #3
heddnThis isn't an issue in the source CSV plugin, but rather how the migration is actually configured. I'm not sure if this is something that can be fixed in the node destination plugin or where, but for now moving it into the right queue.
Seeing there is a work-around (define a 'changed' timestamp), bumping this back down to a normal priority.
Comment #4
mpp CreditAttribution: mpp at AmeXio commentedSeems like the real issue here is that I don't have the content type "people" and the error occurs because content can be created without having a valid bundle (people).
Marking this as closed as it is up to d8_custom_migrate to fix this.
See this issue for more: https://github.com/heddn/d8_custom_migrate/issues/2