Fresh B2C project cannot resolve the Store Name

linmartins
Senior Developer Posts: 1 🧑🏻🚀 - Cadet
Hello there.
I have installed a b2c version on my local and after to followed the steps I cannot run the store properly because my installation get an error:
data/vendor/spryker-shop/store-widget/src/SprykerShop/Yves/StoreWidget/Plugin/ShopApplication/StoreApplicationPlugin.php
$storeNames = $this->getFactory()->getStoreStorageClient()->getStoreNames(); if ($storeName) { if (in_array($storeName, $storeNames, true)) { return $storeName; } } $storeName = $this->getFactory()->getSessionClient()->get(static::SESSION_STORE); if ($storeName) { return $storeName; } if (defined('APPLICATION_STORE')) { return APPLICATION_STORE; } $defaultStoreName = current($storeNames); if (!$defaultStoreName) { throw new Exception('Cannot resolve store'); } return $defaultStoreName; } /** * @return string|null */ protected function getStoreRequestUrlParameter(): ?string { $requestStack = $this->getFactory()->getRequestStack(); if ($requestStack->getCurrentRequest() === null) { $requestStack = $this->getFactory()->createRequestStack(); $requestStack->push(Request::createFromGlobals()); } /** @var \Symfony\Component\HttpFoundation\Request $currentRequest */ $currentRequest = $requestStack->getCurrentRequest();
Arguments
- "Cannot resolve store"
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 81 Spryker News
- 961 Developer Corner
- 815 Spryker Development
- 91 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 36 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 29 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 33 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random