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