My Mautic version is: 3.3
My PHP version is: 7.4
My Database type and version is: MariaDB v10.5
What would be the use case that would cause this? Is this a case where the lead has completed the same form twice?
I would have assumed that Mautic would be aware that they company already exists, and the lead is already associated with that company, so it shouldn’t try to insert into the conpanies_leads table.
These errors are showing in the log: ```
mautic.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\UniqueConstraintViolationException:
"An exception occurred while executing
companies_leads (date_added, is_primary, company_id, lead_id)
VALUES (?, ?, ?, ?)’
with params [“2022-11-08 14:06:02”, 1, 1624925, “13048722”]:
Steps I have tried to fix the problem: Possible have an exists check in place is what I am considering doing.