ERROR: "0" (code N/A)

A new entity was found through the relationship 'XLite\Model\Order#profile' that was not configured to cascade persist operations for entity: XLite\Model\Proxy\__CG__\XLite\Model\Profile@0000000009fa9802000000003f2eb575. 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\Profile#__toString()' to get a clue.