Re: SQLSTATE[23000]: Integrity constraint violation: 1217
OK this is getting stupid
After restoring everything and getting up again unisender does not work properly so disabled it.. Site recache and
ERROR: "0" (code N/A)
A new entity was found through the relationship 'XLite\Model\Profile#membership' that was not configured to cascade persist operations for entity: XLite\Model\Membership@00000000569f621a000000006c2 9b942. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(..,cascade={"persist"}). If you cannot find out which entity causes the problem implement 'XLite\Model\Membership#__toString()' to get a clue.
|