prestapeet Posted July 30, 2018 Share Posted July 30, 2018 Hello, since yesterday I get the following error from the log by opening categories or brands on my shop's frontoffice: Notice: Undefined property: CategoryController::$objectPresenter in /public_html/controllers/front/listing/CategoryController.php on line 130 Fatal error: Uncaught Error: Call to a member function present() on null in /public_html/controllers/front/listing/CategoryController.php:130 Stack trace: #0 /public_html/controllers/front/listing/CategoryController.php(85): CategoryControllerCore->getTemplateVarCategory() #1 /public_html/classes/controller/Controller.php(170): CategoryControllerCore->init() #2 /public_html/classes/Dispatcher.php(367): ControllerCore->run() #3 /public_html/index.php(28): DispatcherCore->dispatch() #4 {main} thrown in /public_html/controllers/front/listing/CategoryController.php on line 130 My Prestashop version: 1.6.1.11 Can someone help me with this problem? Link to comment Share on other sites More sharing options...
Rolige Posted July 30, 2018 Share Posted July 30, 2018 Hello, I must say you that these files and paths doesn't exist on PS 1.6, I don't know if you are trying to use something of PS 1.7 on PS 1.6, which of course will not works. Regards! Link to comment Share on other sites More sharing options...
Tony den Haan Posted September 19, 2018 Share Posted September 19, 2018 (edited) I get this error since selecting to disable/clear cache. Seems it's failing to handle errors/preconditions at at least 3 levels. How can this be caused by toggling caching at all? Edited September 19, 2018 by Tony den Haan (see edit history) Link to comment Share on other sites More sharing options...
Stefan Posted September 19, 2018 Share Posted September 19, 2018 (edited) 1 hour ago, Tony den Haan said: I get this error since selecting to disable/clear cache. Seems it's failing to handle errors/preconditions at at least 3 levels. How can this be caused by toggling caching at all? Same issue here at prestashop: 1.6.1.20 after clearing cache files Any ideas? Edit: going back to backup let it works again. The problem comes back if i recompile the template file. Edited September 19, 2018 by Stefan (see edit history) Link to comment Share on other sites More sharing options...
Tony den Haan Posted September 19, 2018 Share Posted September 19, 2018 (edited) OK, i found the solution: remove public_html/controllers/front/listing/CategoryController.php Clear/toggle cache settings should probably clear contents of listing/ Edited September 20, 2018 by Tony den Haan (see edit history) 1 5 Link to comment Share on other sites More sharing options...
Stefan Posted September 19, 2018 Share Posted September 19, 2018 Thanks seems to work for me! Link to comment Share on other sites More sharing options...
nikolay86 Posted January 30, 2019 Share Posted January 30, 2019 Works for me as well Thanks! Link to comment Share on other sites More sharing options...
TheGoodChoice Posted August 2, 2019 Share Posted August 2, 2019 On 9/19/2018 at 8:20 PM, Tony den Haan said: OK, i found the solution: remove public_html/controllers/front/listing/CategoryController.php Clear/toggle cache settings should probably clear contents of listing/ Lifesaver! Been having this issue for a few days. Thank you so much Link to comment Share on other sites More sharing options...
patrico Posted April 30, 2020 Share Posted April 30, 2020 toggling cache did not work for me. my issue was similar but not exactly same. i disabled overrides and working now - very weird. 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