I have migrated Drupal 7 website to Drupal 8 version using the core migrate_drupal_ui module successfully but the paragraph module was broken upgrade path which results in final that the paragraph bundles not migrated and I have created in the new site like the old.
Now I need to migrate content for the paragraph fields only and update the nodes, I did some research and found possible solutions as follows:
1- Custom migrate plugin But I don't know how to edit existing.
2- custom script to read the nodes from other site by creating feeds and update.
//$nid get from feeds. $entity = entity_load('node', $nid); $entity->set('field_audit', ['field_number' => [0 => ['value' => 4]], 'field_regular_materials' => [0 => ['value' => '44']], 'field_verification' => [0 => ['value' => '444']]], FALSE); $entity->save();
That code gives error Fatal error: Maximum function nesting level of '256' reached, aborting!
what is the best practice to achieve.