Fatal error: Call to a member function isAllowed() on a non-object in /home/httpd/www/eyewear-live.test.summit.co.uk/app/code/local/MageWorx/StoreSwitcher/Model/Observer.php on line 178