Replies: 1 comment 5 replies
-
@devansh-webkul can you help me? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, good afternoon.
I am having a problem that when creating a contact in "Persons" and then saving it without having entered any organization. When trying to update the contact and add the name of an organization, the system fails and returns me
"SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (
laravelcrm
.persons
, CONSTRAINTpersons_user_id_foreign
FOREIGN KEY (user_id
) REFERENCESusers
(id
) ON DELETE SET NULL)"Could you help me? I don't understand how to solve it.
PS: Attached screen print with 3 messages and 2 exceptions.


Beta Was this translation helpful? Give feedback.
All reactions