Adam Posted October 1, 2018 Share Posted October 1, 2018 (edited) Hi all, something just happened with our shop, when you click any category we get this error message: Notice: Undefined property: CategoryController::$objectPresenter in /home/xb1npn4w/public_html/controllers/front/listing/CategoryController.php on line 164 Fatal error: Call to a member function present() on null in /home/xb1npn4w/public_html/controllers/front/listing/CategoryController.php on line 164 Does anyone know how to fix it? The line in the CategoryController.php is this: $category = $this->objectPresenter->present($this->category); Nothing was installed or changed, the shop was working ok when I left the office but after about an hour or so a friend called me and told me about the error. Thanks for any support! Edited October 2, 2018 by Adam Solved (see edit history) Link to comment Share on other sites More sharing options...
Adam Posted October 2, 2018 Author Share Posted October 2, 2018 Ok problem solved. It was sufficient to dele the CategoryController.php file and everything went back to normal. 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