smilovsky Posted February 2, 2017 Share Posted February 2, 2017 Hello, I noticed a loop error after upgrading to v1.6.1.11 Stable [Thu Feb 02 17:47:05.009363 2017] [proxy_fcgi:error] [pid 26664:tid 140533494126336] [client 66.249.93.206:52190] AH01071: Got error 'PHP message: PHP Notice: Undefined index: averageTotal in /home/domaine/domains/domaine.com/public_html/cache/smarty/compile/45/1f/85/451f85fb86b1c0da07417186f8f2e80d4edc1d77.file.product.tpl.php on line 403\nPHP message: PHP Notice: Trying to get property of non-object in /home/domaine/domains/domaine.com/public_html/cache/smarty/compile/45/1f/85/451f85fb86b1c0da07417186f8f2e80d4edc1d77.file.product.tpl.php on line 403\nPHP message: PHP Notice: Undefined index: averageTotal in /home/domaine/domains/domaine.com/public_html/cache/smarty/compile/45/1f/85/451f85fb86b1c0da07417186f8f2e80d4edc1d77.file.product.tpl.php on line 403\nPHP message: PHP Notice: Trying to get property of non-object in /home/domaine/domains/domaine.com/public_html/cache/smarty/compile/45/1f/85/451f85fb86b1c0da07417186f8f2e80d4edc1d77.file.product.tpl.php on line 403\nPHP message: PHP Notice: Undefined index: averageTotal in /home/domaine/domains/domaine.com/public_html/cache/smarty/compile/45/1f/85/451f85fb86b1c0da07417186f8f2e80d4edc1d77.file.product.tpl.php on line 403\nPHP message: PHP Notice: Trying to get property of non-object in /home/domaine/domains/domaine.com/public_html/cache/smarty/compile/45/1f/85/451f85fb86b1c0da07417186f8f2e80d4edc1d77.file.product.tpl.php on line 403\nPHP message: PHP Notice: Undefined index: averageTotal in /home/domaine/domains/domaine.com/public_html/cache/smarty/compile/45/1f/85/451f85fb86b1c0da07417186f8f2e80d4edc1d77.file.product.tpl.php on line 403\nPHP message: PHP Notice: Trying to get property of non-object in /home/domaine/domains/domaine.com/public_html/cache/smarty/compile/45/1f/85/451f85fb86b1c0da07417186f8f2e80d4edc1d77.file.product.tpl.php on line 403\nPHP message: PHP Notice: Undefined index: averageTotal in /home/domaine/domains/domaine.com/public_html/cache/smarty/compile/45/1f/85/451f85fb86b1c0da07417186f8f2e80d4edc1d77.file.product.tpl.php on line 403\nPHP message: PHP Notice: Trying to get property of non-object in /home/domaine/domains/domaine.com/public_html/cache/smarty/compile/45/1f/85/451f85fb86b1c0da07417186f8f2e80d4edc1d77.file.product.tpl.php on line 403\nPHP message: PHP Notice: Undefined index: averageTotal in /home/domaine/domains/domaine.com/public_html/cache/smarty/compile/45/1f/85/451f85fb86b1c0da07417186f8f2e80d4edc1d77.file.product.tpl.php on line 411\nPHP message: PHP Notice: Trying to get property of non-object in /home/domaine/domains/domaine.com/public_html/cache/smarty/compile/45/1f/85/451f85fb86b1c0da07417186f8f2e80d4edc1d77.file.product.tpl.php on line 411\nPHP message: PHP Notice: Undefined index: averageTotal in /home/domaine/domains/domaine.com/public_html/cache/smarty/compile/45/1f/85/451f85fb86b1c0da07417186f8f2e80d4edc1d77.file.product.tpl.php on line 414\nPHP message: PHP Notice: Trying to get property of non-object in /home/domaine/domains/domaine.com/public_html/cache/smarty/compile/45/1f/85/451f85fb86b1c0da07417186f8f2e80d4edc1d77.file.product.tpl.php on line 414\nPHP message: PHP Notice: Undefined index: nbComments in /home/domaine/domains/domaine.com/public_html/cache/smarty/compile/45/1f/85/451f85fb86b1c0da07417186f8f2e80d4edc1d77.file.product.tpl.php on line 423\nPHP message: PHP Notice: Trying to get property of non-object in /home/domaine/domains/domaine.com/public_html/cache/smarty/compile/45/1f/85/451f85fb86b1c0da07417186f8f2e80d4edc1d77.file.product.tpl.php on line 423\n', referer: http://www.domaine.com/corps-hyg /home/domaine/domains/domaine.com/public_html/cache/smarty/compile/45/1f/85/451f85fb86b1c0da07417186f8f2e80d4edc1d77.file.product.tpl.php line 403 i have this code <?php if ($_smarty_tpl->tpl_vars['averageTotal']->value<=$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']) {?> Do you have any idea about the problem? Link to comment Share on other sites More sharing options...
Mediacom87 Posted February 2, 2017 Share Posted February 2, 2017 Bonjour, avez vous vidé votre cache dans l'onglet Performances de votre backoffice ? Link to comment Share on other sites More sharing options...
doekia Posted February 2, 2017 Share Posted February 2, 2017 Your theme need to be adjusted to conform with 1.6.1.11 core. Link to comment Share on other sites More sharing options...
smilovsky Posted February 3, 2017 Author Share Posted February 3, 2017 (edited) Yes I cleared the cache and still the same problemI use this theme versionHttps://addons.prestashop.com/en/health-beauty-themes/20345-healthcare-bio-medical-store-responsive-prestashop.html Edited February 3, 2017 by smilovsky (see edit history) Link to comment Share on other sites More sharing options...
smilovsky Posted February 3, 2017 Author Share Posted February 3, 2017 Your theme need to be adjusted to conform with 1.6.1.11 core. The theme is already compatible on this version of prestashop Https://addons.prestashop.com/en/health-beauty-themes/20345-healthcare-bio-medical-store-responsive-prestashop.html Do you have an idea how to solve this problem Link to comment Share on other sites More sharing options...
doekia Posted February 3, 2017 Share Posted February 3, 2017 According to the error you mention, despite what the commercial BS states, something gets highly wrong. If you look thru the native default-boostrap theme, the is not a single reference to averageTotal. Therefore it is a custom code and is the reflect of an incompatibilty. Just for the sake it does not come from an external module. Check that in performance, non native module and overrides are activated. 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