- Issue created by @leo liao
- last update
over 1 year ago 159 pass, 12 fail - First commit to issue fork.
- Merge request !100Integrity constraint violation: 1048 Column langcode cannot be null → (Open) created by brentg
- last update
12 months ago 182 pass
Drupal\Core\Entity\EntityStorageException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'langcode' cannot be null: INSERT INTO "paragraphs_item" ("revision_id", "type", "uuid", "langcode") VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3); Array ( [:db_insert_placeholder_0] => [:db_insert_placeholder_1] => card_images [:db_insert_placeholder_2] => adf27458-38c6-4c2c-8762-c0ea70cfa412 [:db_insert_placeholder_3] => ) in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 817 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
There is the same issue
https://www.drupal.org/project/paragraphs/issues/2901390
🐛
Integrity constraint violation: 1048 Column 'langcode' cannot be null
Fixed
, but after it was merged, this problem still exists.
When I apply paragraphs in a block, this block is applied in layout build. When saving the layout, this error will be prompted.
drupal version is 10.1
Active
1.0
Code