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