Integrity constraint violation: 1048 Column 'langcode' cannot be null

Created on 20 July 2023, over 1 year ago
Updated 5 March 2024, 12 months ago

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

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024