Jump to content

Product list by Brand error message


KatsanKat

Recommended Posts

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

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 by KatsanKat (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...