View Single Post
  #1  
Old 04-26-2014, 01:26 AM
 
xanadude xanadude is offline
 

eXpert
  
Join Date: Jun 2006
Posts: 247
 

Default 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
__________________
Xanadude

http://wemakeanyshirt.com X5 with x-Cart Mobile in build
Reply With Quote