My website www.glocalshopper.com based on magento is not working. Please view the screenshot : http://prntscr.com/kfujg3

Following error is been provided in screenshot.Can somebody guide me how to reolve this error. Awaiting for the right solution.

  • Did you something change recently ? – Pawan Aug 7 '18 at 17:42
  • disable compiler and check it – Prashant Valanda Aug 7 '18 at 18:16
  • Maybe this answer will help you. stackoverflow.com/a/23215331/9332214 – Jackrose Aug 7 '18 at 18:17
  • It seems a store id issue. Did you do some changes related to the store , recently ? – Attila Naghi Aug 8 '18 at 9:24
  • Yes, I had made changes to Manage Store view, since had four store views. Two I had disabled and the other two store were enabled. Since the magneto admin panel is also showing the same error. Kindly guide me. – user39776 Aug 8 '18 at 15:10

Check to see if that function exists in the referenced file, but it appears to be pulling a null from somewhere. However, that error generally revolves around caching. Clear your caches and if you have memcache (or something else), clear that or disable it to see if that helps.

Also might help if you stated any recent changes you made. Did you install any extensions? Remove any? Patch the site?

| improve this answer | |
  • I had cleared all the caches several time but the same error is coming again and again. How to disable the cache ?? Kindly guide me – user39776 Aug 8 '18 at 15:08
  • I had not installed any extension. – user39776 Aug 8 '18 at 15:12
  • Do you use any external caching such as memcache, Redis, Varnish, etc? – Marisa Aug 8 '18 at 18:34
  • I did not use any external caching. – user39776 Aug 9 '18 at 13:44
  • Ia anyone Who Can Help me in this ? – user39776 Aug 9 '18 at 13:47

Go to file 'app/code/core/Mage/Core/Model/App.php' and on line 722

replace it

return $this->_stores[$this->_groups[$group]->getDefaultStoreId()]->getCode();

replace by

return $this->_stores[$this->_groups[$group]->getDefaultStoreId()]->getCode();
| improve this answer | |
  • I wouldn't change the core files :) – Attila Naghi Aug 8 '18 at 11:28
  • By this you will be sure and find error solved or not may be new error you will found that was exact cause. – Charul Tyagi Aug 8 '18 at 11:44
  • I had done the process but it too did not working. After replacing the code with yours, the 400 error was coming to the site. – user39776 Aug 8 '18 at 15:06
  • Rule number one: It is forbidden to update Magento Core. – PЯINCƏ Jan 24 '19 at 9:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.