Fatal error: Call to a member function getId() on a non-object in /chroot/home/maddesig/maddesigngroup.com/cap/releases/20170728004947/magento/app/code/local/Maddesig/Gallery/controllers/IndexController.php on line 87