I am running into this issue:
codio@total-patrol:~/workspace/motionsplan.dk/web$ drush migrate-status
PHP Fatal error: Unsupported operand types in /home/codio/workspace/motionsplan.dk/web/core/module
s/migrate/src/Plugin/Migration.php on line 665
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Unsupported operand types in
/home/codio/workspace/motionsplan.dk/web/core/modules/migrate/src/Plugin/Migration.php,
line 665
I am using these version:
"require": {
"drupal/migrate": "8.1.*",
"drupal/migrate_plus": "8.2.*",
"drupal/migrate_tools": "8.2.*",
"drupal/migrate_source_csv": "8.2.*",
}
"patches": {
"drupal/migrate_tools": {
"Issue #2697923 Make migration UI work with 8.1.x": "https://www.drupal.org/files/issues/2697923-add-migration-ui-4.patch"
}
}
Comments
Comment #2
mikeryanThis happens if you omit migrate_dependencies from your migration .yml file - you can prevent this with
This is at least the third or fourth person I know of (including myself) that's hit this, I think it's worth defending against it in getMigrationDependencies().
Comment #3
mikeryanComment #4
mikeryanComment #5
pguillard commentedI would say RTBC, this patch prevents the error.
Comment #7
guilopes commentedI confirmed this issue, I had the same here. The patch solve the issue here. Thanks @mikeryan
Comment #8
mpp commentedEncountered the same issue, the attached patch resolved it.
RTBC
Comment #9
mpp commentedSeems like something went wrong in the test queue. Patch did PASS.
Comment #10
mpp commentedComment #11
alexpottLet's at least add some unit test coverage of this.
Comment #12
pguillard commentedSomething like this ?
Comment #13
killes@www.drop.org commentedI can confirm this patch works.
Comment #14
keopxWorks fine for me.
Comment #15
mikeryanComment #16
alexpottCommitted f918de0 and pushed to 8.1.x and 8.2.x. Thanks!