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