Jump to content

Apache error on product-slider.tpl.php Prestashop 1.6


robertocommerce

Recommended Posts

Hi everyone, I hope you can help me.
I have prestashop 1.6.1.20
I saw in the register of my site the presence of an PHP error continuously inside a file of my theme

mod_fcgid: stderr: PHP Notice: Undefined index: available_now in /var/www/vhosts/mysite.com/httpdocs/cache/smarty/compile/73/72/37/7372374338fac62c89d64bd39de5ced574b33365.file.product-slider.tpl.php on line 235

in the file on line 235 this is present:

product-list.png

Can you help me understand what the problem is?

Thanks to all

 

product-list.png

Edited by robertocommerce (see edit history)
Link to comment
Share on other sites

Just a notice saying that the available_now variable is used but not being previously declared; it shouldn't affect anything but in case i does you can go where it is used the first time and just a line/block above declare it.

Link to comment
Share on other sites

yes, you should; there is no product-slider.tpl in the default bootstrap them of 1.6.1.20 that I can check so I guess you are using a third party theme.

If you know how, look for that available_now variable and initialize it somewhere above the line where it is used the first time.

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...