X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Constant error when setting membership level (https://forum.x-cart.com/showthread.php?t=69067)

xanadude 04-26-2014 01:26 AM

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

qualiteam 04-28-2014 12:44 AM

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!

tony_sologubov 05-07-2014 03:49 AM

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.

xanadude 06-19-2014 09:12 AM

Re: Constant error when setting membership level
 
this was a complete fresh build no xfer of anything


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

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.