# Shopware 6.7 Migrations crahed die Suche

**URL:** <https://forum.shopware.com/t/shopware-6-7-migrations-crahed-die-suche/108788>\
**Category:** Shopware 6 (German)\
**Created:** [23. März 2026 um 20:01 UTC](https://forum.shopware.com/t/shopware-6-7-migrations-crahed-die-suche/108788 "2026-03-23T20:01:05Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![derhelle](https://avatars.discourse-cdn.com/v4/letter/d/91b2a8/32.png) [@derhelle](https://forum.shopware.com/u/derhelle)\
**Post date:** [23. März 2026 um 20:01 UTC](https://forum.shopware.com/t/shopware-6-7-migrations-crahed-die-suche/108788/1 "2026-03-23T20:01:05Z")

</div>

Moin, ich habe gerade ein paar Daten, testweise, migrtiert.

Danach wollte ich die Suche benutzte, aber sobald ein paar Such-Vorschläge kommen sollen, wird mit meine Seite in der Suche angezeigt (Mobile Version).  
Das passiert erst wenn ich das erste mal die Produkte migriert haben.

Kennt das jemand?

---

<div class="post-metadata">

**Author:** ![matthiasewald](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/matthiasewald/32/21341_2.png) [@matthiasewald](https://forum.shopware.com/u/matthiasewald)\
**Post date:** [23. März 2026 um 20:13 UTC](https://forum.shopware.com/t/shopware-6-7-migrations-crahed-die-suche/108788/2 "2026-03-23T20:13:35Z")

</div>

Moin @derhelle ,

dann handelt es sich bestimmt um eine Fehlerseite, die einfach komplett als Antwort geladen wird vermute ich mal. Ich gehe davon aus, dass eventuell irgendwo eine Fehlkonfiguration vorgenommen wurde? Hast du eine Fehlermeldung?

Dürfte aber nicht nur die mobile Ansicht betreffen.

Grüße  
Matthias

---

<div class="post-metadata">

**Author:** ![derhelle](https://avatars.discourse-cdn.com/v4/letter/d/91b2a8/32.png) [@derhelle](https://forum.shopware.com/u/derhelle)\
**Post date:** [23. März 2026 um 20:21 UTC](https://forum.shopware.com/t/shopware-6-7-migrations-crahed-die-suche/108788/3 "2026-03-23T20:21:46Z")

</div>

Es wird eine 404 Seite geladen.

Ja das stimmt, Fehler kommt immer.

Chrome - Dev - Network sagt 500

Logfiles sind leer.

Seite lief, bis zur Migration.

Gruß Helle

---

<div class="post-metadata">

**Author:** ![derhelle](https://avatars.discourse-cdn.com/v4/letter/d/91b2a8/32.png) [@derhelle](https://forum.shopware.com/u/derhelle)\
**Post date:** [23. März 2026 um 22:07 UTC](https://forum.shopware.com/t/shopware-6-7-migrations-crahed-die-suche/108788/4 "2026-03-23T22:07:12Z")

</div>

Diesen Fehler hier konnte ich auch noch finden:

storefront.search-wi….plugin.cba7f9.js:1  
GET [xxxxxxxx.de](https://XXXXXXXX.de/suggest?search=fsdf) 404 (Not Found)  
\_suggest @ storefront.search-wi….plugin.cba7f9.js:1  
\_handleInputEvent @ storefront.search-wi….plugin.cba7f9.js:1  
setTimeout   
(anonymous) @ storefront.js?1774303223:1

---

<div class="post-metadata">

**Author:** ![matthiasewald](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/matthiasewald/32/21341_2.png) [@matthiasewald](https://forum.shopware.com/u/matthiasewald)\
**Post date:** [24. März 2026 um 07:42 UTC](https://forum.shopware.com/t/shopware-6-7-migrations-crahed-die-suche/108788/5 "2026-03-24T07:42:15Z")

</div>

Moin @derhelle ,

hast du den Debug Modus mal angestellt? Wenn das Network einen 500er zurück gibt dann sollte in der Regel irgendwo etwas geloggt werden.

Hast du irgendwelche Plugins, welche auf die Suche zugreifen?

Grüße  
Matthias

---

<div class="post-metadata">

**Author:** ![derhelle](https://avatars.discourse-cdn.com/v4/letter/d/91b2a8/32.png) [@derhelle](https://forum.shopware.com/u/derhelle)\
**Post date:** [24. März 2026 um 07:57 UTC](https://forum.shopware.com/t/shopware-6-7-migrations-crahed-die-suche/108788/6 "2026-03-24T07:57:41Z")

</div>

Moin, Debug Modus in Shopware?

Alle Plugins sind deaktiviert.

Gruß Helle

---

<div class="post-metadata">

**Author:** ![matthiasewald](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/matthiasewald/32/21341_2.png) [@matthiasewald](https://forum.shopware.com/u/matthiasewald)\
**Post date:** [24. März 2026 um 08:04 UTC](https://forum.shopware.com/t/shopware-6-7-migrations-crahed-die-suche/108788/7 "2026-03-24T08:04:42Z")

</div>

Moin,

in der .env.local den Wert APP\_DEBUG=1  
Dann könntest du Glück haben, dass im Frontend eine Fehlermeldung angezeigt wird.

Grüße  
Matthias

---

<div class="post-metadata">

**Author:** ![derhelle](https://avatars.discourse-cdn.com/v4/letter/d/91b2a8/32.png) [@derhelle](https://forum.shopware.com/u/derhelle)\
**Post date:** [24. März 2026 um 08:59 UTC](https://forum.shopware.com/t/shopware-6-7-migrations-crahed-die-suche/108788/8 "2026-03-24T08:59:45Z")

</div>

Fehler ist gekommen, nur kann ich leider nichts damit anfangen 🙂

ProductException  
HTTP 404 Not Found  
Could not find sorting with key „“  
Exception

Shopware\Core\Content\Product  
ProductException  
Show exception properties  
in vendor/shopware/core/Content/Product/ProductException.php (line 43)  
); } public static function sortingNotFoundException(string $key): self { return new self( Response::HTTP\_NOT\_FOUND, self::SORTING\_NOT\_FOUND, self::$couldNotFindMessage, [‚entity‘ =\> ‚sorting‘, ‚field‘ =\> ‚key‘, ‚value‘ =\> $key] );  
in vendor/shopware/core/Content/Product/SalesChannel/Listing/Processor/SortingListingProcessor.php :: sortingNotFoundException (line 92)  
private function getCurrentSorting(ProductSortingCollection $sortings, Request $request, string $salesChannelId): ?ProductSortingEntity { $key = RequestParamHelper::get($request, ‚order‘); if (!\is\_string($key)) { throw ProductException::sortingNotFoundException(‚‘); } $sorting = $sortings-\>getByKey($key); if ($sorting !== null) { return $sorting;  
in vendor/shopware/core/Content/Product/SalesChannel/Listing/Processor/SortingListingProcessor.php → getCurrentSorting (line 53)  
/\*\* @var ProductSortingCollection $sortings _/ $sortings = $criteria-\>getExtension(‚sortings‘) ?? new ProductSortingCollection(); $sortings-\>merge($this-\>getAvailableSortings($request, $context-\>getContext())); $currentSorting = $this-\>getCurrentSorting($sortings, $request, $context-\>getSalesChannelId()); if ($currentSorting !== null) { $fallbackSorting = null; if ($this-\>hasQueriesOrTerm($criteria)) { $fallbackSorting = new FieldSorting(‚\_score‘, FieldSorting::DESCENDING);  
in vendor/shopware/core/Content/Product/SalesChannel/Listing/Processor/CompositeListingProcessor.php → prepare (line 32)  
} public function prepare(Request $request, Criteria $criteria, SalesChannelContext $context): void { foreach ($this-\>processors as $processor) { $processor-\>prepare($request, $criteria, $context); } } public function process(Request $request, ProductListingResult $result, SalesChannelContext $context): void {  
in vendor/shopware/core/Content/Product/SalesChannel/Suggest/ResolvedCriteriaProductSuggestRoute.php → prepare (line 54)  
new ProductAvailableFilter($context-\>getSalesChannelId(), ProductVisibilityDefinition::VISIBILITY\_SEARCH) ); $this-\>searchBuilder-\>build($request, $criteria, $context); $this-\>processor-\>prepare($request, $criteria, $context); $this-\>eventDispatcher-\>dispatch( new ProductSuggestCriteriaEvent($request, $criteria, $context), ProductEvents::PRODUCT\_SUGGEST\_CRITERIA );  
in vendor/shopware/storefront/Page/Suggest/SuggestPageLoader.php → load (line 48)  
$criteria = new Criteria(); $criteria-\>setLimit(10); $criteria-\>setTotalCountMode(Criteria::TOTAL\_COUNT\_MODE\_EXACT); $page-\>setSearchResult( $this-\>productSuggestRoute -\>load($request, $salesChannelContext, $criteria) -\>getListingResult() ); $page-\>setSearchTerm((string) $request-\>query-\>get(‚search‘));  
in vendor/shopware/storefront/Controller/SearchController.php → load (line 83)  
{ if (!$request-\>request-\>has(‚no-aggregations‘)) { $request-\>request-\>set(‚no-aggregations‘, true); } $page = $this-\>suggestPageLoader-\>load($request, $context); $this-\>hook(new SuggestPageLoadedHook($page, $context)); return $this-\>renderStorefront(‚_@Storefront\*/storefront/layout/header/search-suggest.html.twig‘, [‚page‘ =\> $page]); }  
in vendor/symfony/http-kernel/HttpKernel.php → suggest (line 183)  
$this-\>dispatcher-\>dispatch($event, KernelEvents::CONTROLLER\_ARGUMENTS); $controller = $event-\>getController(); $arguments = $event-\>getArguments(); // call controller $response = $controller(…$arguments); // view if (!$response instanceof Response) { $event = new ViewEvent($this, $request, $type, $response, $event); $this-\>dispatcher-\>dispatch($event, KernelEvents::VIEW);  
in vendor/symfony/http-kernel/HttpKernel.php → handleRaw (line 76)  
$request-\>headers-\>set(‚X-Php-Ob-Level‘, (string) ob\_get\_level()); $this-\>requestStack-\>push($request); $response = null; try { return $response = $this-\>handleRaw($request, $type); } catch (\Throwable $e) { if ($e instanceof \Error && !$this-\>handleAllThrowables) { throw $e; }  
in vendor/shopware/core/Framework/Adapter/Kernel/HttpKernel.php → handle (line 72)  
$this-\>dispatcher-\>dispatch($event); return $event-\>getResponse(); } return parent::handle($request, $type, $catch); }}  
in vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php → handle (line 86)  
if (!IpUtils::checkIp(‚127.0.0.1‘, $trustedProxies)) { Request::setTrustedProxies(array\_merge($trustedProxies, [‚127.0.0.1‘]), Request::getTrustedHeaderSet()); } try { return $kernel-\>handle($request, $type, $catch); } finally { // restore global state Request::setTrustedProxies($trustedProxies, $trustedHeaderSet); } }  
in vendor/symfony/http-kernel/HttpCache/HttpCache.php :: handle (line 466)  
protected function forward(Request $request, bool $catch = false, ?Response $entry = null): Response { $this-\>surrogate?-\>addSurrogateCapability($request); // always a „master“ request (as the real master request can be in cache) $response = SubRequestHandler::handle($this-\>kernel, $request, HttpKernelInterface::MAIN\_REQUEST, $catch); /\* \* Support stale-if-error given on Responses or as a config option. \* RFC 7234 summarizes in Section 4.2.4 (but also mentions with the individual \* Cache-Control directives) that  
in vendor/symfony/http-kernel/HttpCache/HttpCache.php → forward (line 443)  
// avoid that the backend sends no content $subRequest-\>headers-\>remove(‚If-Modified-Since‘); $subRequest-\>headers-\>remove(‚If-None-Match‘); $response = $this-\>forward($subRequest, $catch); if ($response-\>isCacheable()) { $this-\>store($request, $response); }  
in vendor/symfony/http-kernel/HttpCache/HttpCache.php → fetch (line 341)  
} if (null === $entry) { $this-\>record($request, ‚miss‘); return $this-\>fetch($request, $catch); } if (!$this-\>isFreshEnough($request, $entry)) { $this-\>record($request, ‚stale‘);  
in vendor/symfony/http-kernel/HttpCache/HttpCache.php → lookup (line 216)  
$response = $this-\>fetch($request, $catch); } else { $response = null; do { try { $response = $this-\>lookup($request, $catch); } catch (CacheWasLockedException) { } } while (null === $response); }  
in vendor/shopware/core/Framework/Adapter/Kernel/HttpCacheKernel.php → handle (line 61)  
// only handle main request inside http cache, because ESI tags are also interpreted as main request. // sub requests are requests, which are forwarded to the kernel inside the php stack // [[HttpKernel] HttpCache does not pass real request type to the kernel when no cache found · Issue #51648 · symfony/symfony · GitHub](https://github.com/symfony/symfony/issues/51648#issuecomment-1717846894) if ($type === HttpKernelInterface::MAIN\_REQUEST) { $response = parent::handle($request, $type, $catch); } elseif ($request-\>attributes-\>has(‚\_sw\_esi‘)) { $response = parent::handle($request, $type, $catch); } else { $response = $this-\>getKernel()-\>handle($request, $type, $catch); }  
in vendor/shopware/core/Kernel.php → handle (line 129)  
public function handle(Request $request, int $type = HttpKernelInterface::MAIN\_REQUEST, bool $catch = true): Response { $this-\>boot(); return $this-\>getHttpKernel()-\>handle($request, $type, $catch); } public function boot(): void { if (!$this-\>booted) {  
in vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php → handle (line 35)  
) { } public function run(): int { $response = $this-\>kernel-\>handle($this-\>request); if (Kernel::VERSION\_ID \>= 60400) { $response-\>send(false); if (\function\_exists(‚fastcgi\_finish\_request‘) && !$this-\>debug) {  
in vendor/autoload\_runtime.php → run (line 32)  
$app = $app(…$args);exit( $runtime -\>getRunner($app) -\>run());  
require\_once(‚/data/shopware/vendor/autoload\_runtime.php‘)  
in public/index.php (line 10)  
use Shopware\Core\Installer\InstallerKernel;use Shopware\Core\Framework\Adapter\Kernel\KernelFactory;$\_SERVER[‚SCRIPT\_FILENAME‘] = **FILE** ;require\_once **DIR**. ‚/../vendor/autoload\_runtime.php‘;if (!file\_exists( **DIR**. ‚/../.env‘) && !file\_exists( **DIR**. ‚/../.env.dist‘) && !file\_exists( **DIR**. ‚/../.env.local.php‘)) { $\_SERVER[‚APP\_RUNTIME\_OPTIONS‘][‚disable\_dotenv‘] = true;}

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [24. März 2026 um 09:04 UTC](https://forum.shopware.com/t/shopware-6-7-migrations-crahed-die-suche/108788/9 "2026-03-24T09:04:06Z")

</div>

In der Suche wird wohl eine Sortierung eingestellt sein, die nicht existiert. Einfach in den Einstellungen eine andere Sortierung auswählen, dann wird es vermutlich wieder tun.

---

<div class="post-metadata">

**Author:** ![derhelle](https://avatars.discourse-cdn.com/v4/letter/d/91b2a8/32.png) [@derhelle](https://forum.shopware.com/u/derhelle)\
**Post date:** [24. März 2026 um 09:15 UTC](https://forum.shopware.com/t/shopware-6-7-migrations-crahed-die-suche/108788/10 "2026-03-24T09:15:45Z")

</div>

Habe ich versucht, bringt aber leider nichts.

---

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [24. März 2026 um 09:28 UTC](https://forum.shopware.com/t/shopware-6-7-migrations-crahed-die-suche/108788/11 "2026-03-24T09:28:09Z")

</div>

Also bei der Fehlermeldung wird eindeutig die Sortierung bemängelt. Sicher das dort alles Standard ist? Irgendetwas vor der Migration hier verändert? Ich schließe die Migration selber als Fehlerquelle aus.

---

<div class="post-metadata">

**Author:** ![derhelle](https://avatars.discourse-cdn.com/v4/letter/d/91b2a8/32.png) [@derhelle](https://forum.shopware.com/u/derhelle)\
**Post date:** [24. März 2026 um 09:33 UTC](https://forum.shopware.com/t/shopware-6-7-migrations-crahed-die-suche/108788/12 "2026-03-24T09:33:06Z")

</div>

Ich habe an der Suche nichts geändert. Alles was ich gemacht habe war ein eigenes Theme zu erstellen und dort CSS anzupassen. Aber selbst wenn ich das Theme deaktiviere, bleibt der Fehler.  
Ich habe die Einstellungen der Suche mit dem anderen Shop Verglichen, scheint alles zu passen.

Oder Übersehe ich Einstellungen in der Suche? Ich schaue unter “Einstellungen –\> Suche”

---

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [24. März 2026 um 09:37 UTC](https://forum.shopware.com/t/shopware-6-7-migrations-crahed-die-suche/108788/13 "2026-03-24T09:37:15Z")

</div>

Überprüfe auch mal die Sortirung Einstellungen =\> Produkt =\> Sortier Optionen

Im Standard sieht das so aus:

 ![2026.03.24-10_37_28](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/f/b/fb146bf5342842ed03fa04399e772377269bdb74.png)  
Die Migration verändert weder die Suche noch die Sortierung.

---

<div class="post-metadata">

**Author:** ![derhelle](https://avatars.discourse-cdn.com/v4/letter/d/91b2a8/32.png) [@derhelle](https://forum.shopware.com/u/derhelle)\
**Post date:** [24. März 2026 um 09:40 UTC](https://forum.shopware.com/t/shopware-6-7-migrations-crahed-die-suche/108788/14 "2026-03-24T09:40:27Z")

</div>

DAS WARS!!! Danke für eure Hilfe…..

Unter Standard-Sortierung der Suchergebnisse war nichts ausgewählt…..ist aber erst nach der Migration so.

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/2/9/29c7587ba660f00e4995d1743162782e5d6d8653.svg) [@system](https://forum.shopware.com/u/system)\
**Post date:** [23. April 2026 um 09:40 UTC](https://forum.shopware.com/t/shopware-6-7-migrations-crahed-die-suche/108788/15 "2026-04-23T09:40:55Z")

</div>

Dieses Thema wurde automatisch 30 Tage nach der letzten Antwort geschlossen. Es sind keine neuen Antworten mehr erlaubt.
