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.
Error on migration: some files contain invalid YAML
Drupal\Component\Discovery\DiscoveryException: The /var/www/nch/modules/wordpress_migrate/migrations/._wordpress_authors.yml contains invalid YAML in Drupal\Component\Discovery\YamlDirectoryDiscovery->findAll() (line 90 of core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php).
This is due to an unquoted string containing an @ character exists in some migration files. These strings should be in quotes.
Comment | File | Size | Author |
---|---|---|---|
#3 | error_on_migrate-2832551-3.patch | 1.16 KB | maccath |
Comments
Comment #2
maccath CreditAttribution: maccath at Deeson commentedComment #3
maccath CreditAttribution: maccath at Deeson commentedComment #4
ronald_istos CreditAttribution: ronald_istos at Deeson commentedCan confirm that this fixes the issue.
Comment #5
HongPong CreditAttribution: HongPong at kor group commentedAlso confirming this works. I rolled this patch and the other longstanding approved ones on the issue queue here, if you'd like to try it: https://github.com/HongPong/wordpress_migrate
I would request this get added.
Comment #6
imyaro CreditAttribution: imyaro at DrupalJedi commented+1 RTBC
Long time following this issue to remove this patch from the project.
Comment #8
HongPong CreditAttribution: HongPong at kor group commentedRolled in now. Thank you! :)