nicoX Posted September 28, 2018 Share Posted September 28, 2018 (edited) [28-Sep-2018 18:11:50 Europe/London] PHP Notice: Trying to get property of non-object in /home//site.com/cache/smarty/compile/e9/c8/29/e9c829d64e9f23e67ae6aa79cc2d87e550c78cee.file.productscategory.tpl.php on line 49 [28-Sep-2018 18:11:50 Europe/London] PHP Notice: Undefined property: Product::$id_product in /home//site.com/cache/smarty/compile/34/b3/fe/34b3fe80b081b148299bc78fc195582120b4b921.file.product.tpl.php on line 418 [28-Sep-2018 18:11:50 Europe/London] PHP Notice: Undefined property: Product::$id_product in /home/site.com/cache/smarty/compile/34/b3/fe/34b3fe80b081b148299bc78fc195582120b4b921.file.product.tpl.php on line 419 [28-Sep-2018 19:22:54 Europe/London] PHP Notice: Undefined index: category in /home/site.com/cache/smarty/compile/e8/64/c1/e864c1d71d19ecb6899c63b3bce8016b0c99386a.file.breadcrumb.tpl.php on line 54 [28-Sep-2018 19:22:54 Europe/London] PHP Notice: Trying to get property of non-object in /home/site.com/cache/smarty/compile/e8/64/c1/e864c1d71d19ecb6899c63b3bce8016b0c99386a.file.breadcrumb.tpl.php on line 54 I'm getting these in the error_log daily. What can I do to fix it? Edited September 28, 2018 by nicoX (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted October 2, 2018 Share Posted October 2, 2018 Look into those cache files at those line numbers. Then try to find the same thing in the original file. Also try to reproduce those errors. These may be faults in your template. But there may also be some bugs in your database. When I see for example "Undefined index: category" then it may be that a product refers to a category that no longer exists. 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