cancel
Showing results for 
Search instead for 
Did you mean: 

not showing frontend after fresh installation on xampp localhost

not showing frontend after fresh installation on xampp localhost

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