I'm getting following exception when trying to import blocks content using drush or UI:
21. Loading file: ../content/block_content/b15df146-646b-4b63-b1d8-7d95bb7d3244.json, entity type: block_content
In ContentEntityBase.php line 955:
[InvalidArgumentException]
Invalid translation language (en) specified.
Exception trace:
at docroot/core/lib/Drupal/Core/Entity/ContentEntityBase.php:955
Looks like some blocks have language set to English although English is disabled on site.
"langcode": [
{
"value": "en",
"lang": "en"
}
],
It's happening on aplha6 and dev
Comments
Comment #2
roman_pro commentedWell manually replacing language code in all json files fixed the Exception , so closing. This might help someone facing the same issue though.
Comment #3
roman_pro commentedComment #4
roman_pro commented