Hallo zusammen!
Wir habe auf einem Managed Cloud Server die neue Shopware „installiert“ nach dem Aufruf bekommen wir folgenden Fehler angezeigt:
Shopware\Storefront\Framework\Routing\Exception\SalesChannelMappingException
in /var/www/html/vendor/shopware/storefront/Framework/Routing/ RequestTransformer.php (line 98)
$salesChannel = $this->findSalesChannel($request);
if ($salesChannel === null) {
// this class and therefore the "isSalesChannelRequired" method is currently not extendable
// which can cause problems when adding custom paths
throw new SalesChannelMappingException($request->getUri());
}
$absoluteBaseUrl = $this->getSchemeAndHttpHost($request) . $request->getBaseUrl();
$baseUrl = str_replace($absoluteBaseUrl, '', $salesChannel['url']);
RequestTransformer->transform(object(Request))in /var/www/html/public/ index.php (line 92)
$container = $kernel->getContainer();
// resolves seo urls and detects storefront sales channels
$request = $container
->get(RequestTransformerInterface::class)
->transform($request);
$enabled = $container->getParameter('shopware.http.cache.enabled');
if ($enabled) {
$store = $container->get(CacheStore::class);
Ich hoffe Ihr könnt mir weiterhelfen!!! Vielen Dank!