- Issue created by @Idas
- Status changed to Closed: duplicate
9 months ago 8:05pm 29 February 2024 - 🇺🇸United States dww
I believe this bug was fixed at 🐛 Drupal 10.1: fatal error on account creation Fixed and is now released in Profile 8.x-1.8 → .
When I enable "Include in user registration form" the error page appears after the user registers.
In the logs says:
Drupal\Core\Entity\EntityStorageException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'uid' cannot be null: INSERT INTO "drupal_profile" ("revision_id", "type", "uuid", "status", "uid", "is_default", "data", "created", "changed") VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8); Array ( [:db_insert_placeholder_0] => [:db_insert_placeholder_1] => associato [:db_insert_placeholder_2] => c2c58a4b-055e-4435-91fa-279c2811246e [:db_insert_placeholder_3] => 1 [:db_insert_placeholder_4] => [:db_insert_placeholder_5] => 0 [:db_insert_placeholder_6] => a:0:{} [:db_insert_placeholder_7] => 1705162529 [:db_insert_placeholder_8] => 1705162529 ) in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 817 of /home/cirdmit/public_html/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
Closed: duplicate
1.0
Code
I believe this bug was fixed at 🐛 Drupal 10.1: fatal error on account creation Fixed and is now released in Profile 8.x-1.8 → .