Problem/Motivation

[error] Message: /Warning/: Undefined array key "urls" in
/Drupal\migrate_plus\Plugin\migrate\source\Url->__construct()/ (line /37/ of
/modules/contrib/migrate_plus/src/Plugin/migrate/source/Url.php/).Drupal\migrate_plus\Plugin\migrate\source\Url->__construct()
(Line: 70)
Drupal\migrate\Plugin\MigratePluginManager->createInstance() (Line: 394)
Drupal\migrate\Plugin\Migration->getSourcePlugin() (Line: 66)
action_migration_plugins_alter() (Line: 552)
Drupal\Core\Extension\ModuleHandler->alter() (Line: 386)
Drupal\Core\Plugin\DefaultPluginManager->alterDefinitions() (Line: 259)
Drupal\migrate\Plugin\MigrationPluginManager->findDefinitions() (Line: 213)
Drupal\Core\Plugin\DefaultPluginManager->getDefinitions() (Line: 146)
Drupal\migrate\Plugin\MigrationPluginManager->expandPluginIds() (Line: 114)
Drupal\migrate\Plugin\MigrationPluginManager->createInstances() (Line: 93)
Drupal\migrate\Plugin\MigrationPluginManager->createInstance() (Line: 27)

Steps to reproduce

Run the migration without urls parameter via terminal using the drush command drush php:eval

CommentFileSizeAuthor
#2 migrate_plus-3556446-2.patch595 bytesamateichuk
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

amateichuk created an issue. See original summary.

amateichuk’s picture

Status: Active » Needs review
StatusFileSize
new595 bytes

baikho made their first commit to this issue’s fork.

baikho’s picture

Version: 8.x-1.x-dev » 6.0.x-dev

baikho changed the visibility of the branch 3556446-undefined-array-key to hidden.

heddn’s picture

Status: Needs review » Needs work

Posted feedback on the MR

baikho’s picture

Status: Needs work » Needs review

  • heddn committed 73a3f395 on 6.0.x authored by baikho
    fix: #3556446 Undefined array key "urls"
    
    By: amateichuk
    By: baikho
    By:...
heddn’s picture

Status: Needs review » Fixed

Thanks for the fixes here.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.