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