Fatal error: Call to a member function getId() on a non-object in /var/www/html/app/code/local/Amasty/Shopby/controllers/CategoryController.php on line 27