Jump to content

[SOLVED] Categories 500 error


Adam

Recommended Posts

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 by Adam
Solved (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...