lucascaibe Posted March 28, 2018 Share Posted March 28, 2018 Hi, after updating from prestashop 1.6.0.14 to prestahop 1.6.1.18 this error occurred: Fatal error: Call to undefined method Category :: getCategoryParentById () in /home/ksportwhm/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157): eval () 'd code online 128 The error appears when you access a category. Do you have any suggestions to solve it? The URL of the site is http://www.ksport.it Thanks in advance! Link to comment Share on other sites More sharing options...
musicmaster Posted March 28, 2018 Share Posted March 28, 2018 The site looks ok to me. Link to comment Share on other sites More sharing options...
lucascaibe Posted March 28, 2018 Author Share Posted March 28, 2018 (edited) the error appears for example here http://www.ksport.it/379-sport-e-fitness Edited March 28, 2018 by lucascaibe (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted March 28, 2018 Share Posted March 28, 2018 You should start with emptying the cache to be sure it is not something simple. If not I would guess that it is some module that is incompatible with PS 1.6.1. To check for that you can try disabling overrides and disabling non-Prestashop modules (two different things!) and look whether that solves the problem. Link to comment Share on other sites More sharing options...
tantan199 Posted April 3, 2018 Share Posted April 3, 2018 I search on function getCategoryParentById in category.php file in PS1.6.1.4, 1.6.1.17, but there isn't the function, it seems the issue was due to your theme. 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