KatsanKat Posted October 25, 2016 Share Posted October 25, 2016 Hi everyone ! I have a weird problem, when i open a product-list by brand there are lots off error messages saying : Notice: Undefined index: category in /var/www/vhosts/myserver.info/mywebsite.com/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 151 I don't have this error message when i display my products by categories. I've checked the product-list.tpl and the smarty_internal_templatebase.php but i really don't know where the error come from. I'm sorry for the lack of details but this is all i have :/ I'm on Prestashop 1.6.1.6 If anyone have an idea Thank you Link to comment Share on other sites More sharing options...
tuk66 Posted October 26, 2016 Share Posted October 26, 2016 "Notice" is just a notice, not error. Disable debug mode and I believe all notices will be gone. Link to comment Share on other sites More sharing options...
KatsanKat Posted October 26, 2016 Author Share Posted October 26, 2016 "Notice" is just a notice, not error. Disable debug mode and I believe all notices will be gone. That's why i don't understand, the _PS_MODE_DEV_ is already set on false :/ Link to comment Share on other sites More sharing options...
tuk66 Posted October 27, 2016 Share Posted October 27, 2016 So it is set in php.ini on the server - error_reporting. Link to comment Share on other sites More sharing options...
KatsanKat Posted October 27, 2016 Author Share Posted October 27, 2016 (edited) Ok my bad, the problem didn't come from the php.ini file but from the defines.inc.php. I probably have changed something without paying attention. Line 33, the condition was set on “false”, so it couldn't work. I set it on “true” and now everything is alright ! if (_PS_MODE_DEV_ === true) { The topic is solved Thanks tuk66 for helping me ! Edited October 27, 2016 by KatsanKat (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