Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Constant error when setting membership level

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #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

The following user thanks xanadude for this useful post:
totaltec (04-26-2014)
  #2  
Old 04-28-2014, 12:44 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Constant error when setting membership level

We have copied your message into the bug-tracking system we use for X-Cart 5.

Please follow the ticket at http://bt.x-cart.com/view.php?id=43405 for updates.

Thanks!
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #3  
Old 05-07-2014, 03:49 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: Constant error when setting membership level

Hi Roger!

Judging by the experience, this problem is caused by the incorrect data in the database. Apparently, there are some attributes that assigned to the product which does not exist.

Could you please let me know whether you transferred data from X-Cart 4? If so, how did you transfer data?

Tony.
Reply With Quote
  #4  
Old 06-19-2014, 09:12 AM
 
xanadude xanadude is offline
 

eXpert
  
Join Date: Jun 2006
Posts: 247
 

Default Re: Constant error when setting membership level

this was a complete fresh build no xfer of anything
__________________
Xanadude

http://wemakeanyshirt.com X5 with x-Cart Mobile in build
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:55 PM.

   

 
X-Cart forums © 2001-2020