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