Squashtoppertje Posted April 21, 2015 Share Posted April 21, 2015 (edited) Hi, I made two changes to the standard template: 1. Added the option to select a certain quantity in the product listing 2. Added the weight in the checkout Both changes work fine, but do produce errors in the logs which I like to solve. In the first case I get the following error: PHP Notice: Undefined index: display_qties in /home/domain.com/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 385, referer: https://www.domain.com/3-ironPHP Notice: Trying to get property of non-object in /home/domain.com/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 385, referer: https://www.domain.com/3-iron I think these two errors are part of the same problem. In the second case the error is almost the same, an other variable: PHP Notice: Undefined index: weightUnit How can I solve this? Thanks very much! Edited April 27, 2015 by Squashtoppertje (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted April 22, 2015 Share Posted April 22, 2015 Just change error_reporting level in php.ini at Warnings or Errors. PHP Notice level is unnecessarily verbose. Link to comment Share on other sites More sharing options...
Squashtoppertje Posted April 27, 2015 Author Share Posted April 27, 2015 Thanks good tip, but I want to know how to solve this issue. Any hints where to look? 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