kalua Posted February 4, 2015 Share Posted February 4, 2015 Hey all I get this error on some products at the blockbestseller: Warning: math: parameter pprice: is not numeric in /var/www/vhosts/...../presta/tools/smarty/plugins/function.math.php on line 68 Anyone an idea or got the same problem once? Using PS 1.6.0.11 Link to comment Share on other sites More sharing options...
kalua Posted February 5, 2015 Author Share Posted February 5, 2015 (edited) I still can't find a solution from where this error comes from. But till now, i now that it results from the unit price of the product. If i leave it blank, the error is gone ... Related to the error on line 68 it shows this code: if (!is_numeric($val)) { trigger_error("math: parameter $key: is not numeric", E_USER_WARNING); return; Anybody know if this code is correct? --- Furthermore, if i hover the product i can see this error code. Notice: Undefined index: unit_price in /var/www/vhosts/cosmos-bodystyling.com/httpdocs/presta/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 172 Notice: Trying to get property of non-object in /var/www/vhosts/........./presta/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 172 pro 100 Pre. Edited February 5, 2015 by kalua (see edit history) 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