sandiegos Posted March 1, 2019 Share Posted March 1, 2019 (edited) Hi, I started a shop on prestashop version 1.7.4.4 and after switching on debug mode I receive information about such an error: (1/1) ContextErrorException Notice: Undefined index: attr_wholesale_price in Product.php line 100 at Product::priceCalculation(1, 25032, 0, 14, 0, '00-695', 1, 1, 1, false, 6, false, true, true, array(), true, null, true, null, 0, null)in Product.php line 3164 at ProductCore::getPriceStatic(25032, false, null, 6, null, false, true, 1, false, null, null, null, array())in Product.php line 567 at ProductCore->__construct(25032, true, 1, 1)in ProductController.php line 91 at ProductControllerCore->init()in Controller.php line 236 at ControllerCore->run()in Dispatcher.php line 428 at DispatcherCore->dispatch()in index.php line 28 There is such an entry in the product.php file on line 100: /** @var float Wholesale Price in euros */ public $wholesale_price = 0; Should I set a different value here? I disabled all overwriting and modules not from prestashop, but unfortunately the error continues to occur. I was looking for a solution on the forum pages, but unfortunately I didn't find a post about this problem. Please help me, Thx. Edited March 1, 2019 by sandiegos (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now