- Issue created by @arefen
- Status changed to Closed: cannot reproduce
about 1 year ago 6:53pm 9 November 2023
I get the error:
Exception in registerNewUserBy: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'name'
This happens sometimes when OTP-Field wants to create a new user
Exception in registerNewUserBy: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'name' cannot be null: INSERT INTO "users_field_data" ("uid", "langcode", "preferred_langcode", "preferred_admin_langcode", "name", "pass", "mail", "timezone", "status", "created", "changed", "access", "login", "init", "default_langcode") 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, :db_insert_placeholder_9, :db_insert_placeholder_10, :db_insert_placeholder_11, :db_insert_placeholder_12, :db_insert_placeholder_13, :db_insert_placeholder_14); Array
(
[:db_insert_placeholder_0] => 99253
[:db_insert_placeholder_1] => fa
[:db_insert_placeholder_2] => fa
[:db_insert_placeholder_3] => fa
[:db_insert_placeholder_4] =>
[:db_insert_placeholder_5] => $2y$10$fPKa2XWA/RI0oSKJbbCcPORJ0geA8nGcb.shTCHOGphX7rZZgMHzC
[:db_insert_placeholder_6] => .otp_field.1@127.0.0.1
[:db_insert_placeholder_7] => Asia/Tehran
[:db_insert_placeholder_8] => 1
[:db_insert_placeholder_9] => 1699293578
[:db_insert_placeholder_10] => 1699293578
[:db_insert_placeholder_11] => 0
[:db_insert_placeholder_12] => 0
[:db_insert_placeholder_13] => .otp_field.1@127.0.0.1
[:db_insert_placeholder_14] => 1
)
Closed: cannot reproduce
1.0
Code