When trying to register a new customer user following error appears.
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`databasenameredacted`.`ti_customers`, CONSTRAINT `ti_customers_customer_group_id_foreign` FOREIGN KEY (`customer_group_id`) REFERENCES `ti_customer_groups` (`customer_group_id`) ON DELETE SET NUL) (SQL: insert into `ti_customers` (`first_name`, `last_name`, `email`, `password`, `remember_token`, `telephone`, `newsletter`, `status`, `customer_group_id`, `updated_at`, `created_at`) values (Test, Test, test@test.com, $2y$10$mDHMaEBjQLOI6uKPRr1iRO20len4C.OgM0t7eb0XOIHrSV6qjIGVq, ?, 123456, 1, 1, 11, 2021-11-28 18:37:53, 2021-11-28 18:37:53))
Same issue from some other user on github tastyigniter/TastyIgniter894