Constant error when setting membership level
Hi Guy's
I keep getting this error when setting up membership levels
ERROR: "0" (code N/A)
A new entity was found through the relationship 'XLite\Model\Attribute#product' that was not configured to cascade persist operations for entity: XLite\Model\Product@000000005395f5bd000000006a5f8c ed. 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\Product#__toString()' to get a clue.
it happens all the time but the membership level does get added when you go back to the listing
thanks
|