Warnings At Every Login - The Product Xxx Has Options Or Option Variants That Are Not Available Anymore, So It Was Removed From Cart

I get 4-5 warnings at every login with a test account and a variety or warnings whenever anyone logs in as administrator or launches the Theme Editor - none of the products are in either accounts Cart and none of the products have Options. Any ideas what drives this or how to fix?

"Notice The product xxxxx has options or option variants that are not available anymore, so it was removed from cart"

I get this now and then, usually after i create and order in the back end, and add an option or remove an option from the product I have added to the quote. Try and clear your cache or rename the cache folder

John

or

https://forum.cs-cart.com/topic/38005-can-not-set-up-a-text-option-for-product/

I get 4-5 warnings at every login with a test account and a variety or warnings whenever anyone logs in as administrator or launches the Theme Editor - none of the products are in either accounts Cart and none of the products have Options. Any ideas what drives this or how to fix?

"Notice The product xxxxx has options or option variants that are not available anymore, so it was removed from cart"

You need to set in your config.local.php

error_reporting(E_ALL & ~E_NOTICE);
ini_set('display_errors', 0);

I get this now and then, usually after i create and order in the back end, and add an option or remove an option from the product I have added to the quote. Try and clear your cache or rename the cache folder

John

or

https://forum.cs-cart.com/topic/38005-can-not-set-up-a-text-option-for-product/

Thanks - tried deleting all cache from /Var - no change.

You need to set in your config.local.php

error_reporting(E_ALL & ~E_NOTICE);
ini_set('display_errors', 0);

I found the second line from above in two places, setting it to Zero under the Enable Dev mode heading Worked, not even sure what that heading means! The other location is under //Developer Configuration File and has both the lines above, I turn that one to my IP when testing. So off for now but not sure what I've done! (enable Dev mode - IF Product Status is not empty, ummm....???). Thanks, I think!

// Enable DEV mode if Product status is not empty (like Beta1, dev, etc.)
if (PRODUCT_STATUS != '' && !defined('DEVELOPMENT')) {
    ini_set('display_errors', '0');

I found the second line from above in two places, setting it to Zero under the Enable Dev mode heading Worked, not even sure what that heading means! The other location is under //Developer Configuration File and has both the lines above, I turn that one to my IP when testing. So off for now but not sure what I've done! (enable Dev mode - IF Product Status is not empty, ummm....???). Thanks, I think!

// Enable DEV mode if Product status is not empty (like Beta1, dev, etc.)
if (PRODUCT_STATUS != '' && !defined('DEVELOPMENT')) {
    ini_set('display_errors', '0');

The errors are back... I've disabled everything error/dev related I can find.

Happens for customer non admin login and for admin login. Stumped...

The errors are back... I've disabled everything error/dev related I can find.

Happens for customer non admin login and for admin login. Stumped...

This error may happen only when product in cart has disabled/removed option.

Unfortunately this notification cannot be removed without code modification.

This error may happen only when product in cart has disabled/removed option.

Unfortunately this notification cannot be removed without code modification.

Thanks but when I login as admin the items listed in my errors are not disabled and have not been removed and most do not even have options. Logged in as a user 2 of the 3 errors are products with options and one is not, all are enabled and active.

Have a check that you dont have any products in your basket in the "storefront"

Have a check that you dont have any products in your basket in the "storefront"

Thanks - and yes confirmed there's nothing in the Cart in the Storefront.

Per your note above I wasn't aware you create and order via the backend!