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.
The Json file parser erpects en item selector. If this is empty or "/" for root element in xpath. You get this error because the returned data is empty.
InvalidArgumentException: Passed variable is not an array or object, using empty array instead in ArrayIterator->__construct() (line 103 of modules/contrib/migrate_plus/src/Plugin/migrate_plus/data_parser/Json.php).
Comment | File | Size | Author |
---|---|---|---|
#4 | 2827805-3.patch | 566 bytes | Ben Buske |
Comments
Comment #2
Ben Buske CreditAttribution: Ben Buske at werk21 commentedComment #4
Ben Buske CreditAttribution: Ben Buske at werk21 commentedComment #7
mikeryanCommitted (fixing coding standard error - space after if), thanks!