magento 2 is installed
i can access admin area, but when i type
localhost/magento
it gives the following error
Fatal error: Call to a member function getCode() on null in C:\xampp\htdocs\magento\vendor\magento\module-store\App\Action\Plugin\Context.php on line 98
what should i do