Jump to content

How crucial are these PHP errors?


cattty

Recommended Posts

Hello,

I recieved the list of PHP errors on the server log:

 

[Thu Nov 03 07:57:45 2016] [error] [client 37.117.140.224] FastCGI: server "/usr/lib/cgi-bin/php54-fcgi" stderr: PHP message: PHP Notice:  Undefined index: smallSize in /home/siti/www.fashiondetails.it/fashiondetails.it/htdocs/cache/smarty/compile/c1/10/3b/c1103b9ec7da6fa23690fc30a3a6057682b57e15.file.product.tpl.php on line 64, referer: http://www.fashiondetails.it/en/costume-jewelry/

[Thu Nov 03 07:57:45 2016] [error] [client 37.117.140.224] FastCGI: server "/usr/lib/cgi-bin/php54-fcgi" stderr: PHP message: PHP Notice:  Trying to get property of non-object in /home/siti/www.fashiondetails.it/fashiondetails.it/htdocs/cache/smarty/compile/c1/10/3b/c1103b9ec7da6fa23690fc30a3a6057682b57e15.file.product.tpl.php on line 64, referer: http://www.fashiondetails.it/en/costume-jewelry/

 

What do they mean? How crucial it is fo the site?

 

Thank you,

Regards

Link to comment
Share on other sites

I'd say they aren't crucial, but I always try to fix all errors. ;)

 

The error above appears to be related to the product image size. There's a smallSize index used in product.tpl that is defined. I'm guessing at worst, that will mean the width and height of the your img tags will be wrong. It shouldn't cause any major problems, though it is better to have them filled in.

 

You should try to find that code in product.tpl and figure out what's meant to be in it and assign it in ProductController.php.

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