# CategoryNotFoundException

**URL:** <https://forum.shopware.com/t/categorynotfoundexception/63207>\
**Category:** Administration\
**Created:** [27. November 2019 um 09:18 UTC](https://forum.shopware.com/t/categorynotfoundexception/63207 "2019-11-27T09:18:37Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![d2g\_patrick](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/d2g_patrick/32/16618_2.png) [@d2g\_patrick](https://forum.shopware.com/u/d2g_patrick)\
**Post date:** [27. November 2019 um 09:18 UTC](https://forum.shopware.com/t/categorynotfoundexception/63207/1 "2019-11-27T09:18:37Z")

</div>

Hallo zusammen,

bei einem Projekt erhalten wir einen CategoryNotFoundException&nbsp;sobald wir die Footer-Kategorie in den Sales-Channel Einstellungen verknüpfen. Woran kann das liegen? Die Kategorie existiert und hat folgende Konfiguration:

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/5/5fcce0475bc6f0aa06692b6c326df7ec16349c09.png)

```
[2019-11-27 08:58:43] request.CRITICAL: Uncaught PHP Exception Shopware\Core\Content\Category\Exception\CategoryNotFoundException: "Category "913d757ff7bb4efa990b4e6ab3ed5a8b" not found." at /var/www/clients/client6/web86/web/shopware/vendor/shopware/core/Content/Category/Service/NavigationLoader.php line 67 {"exception":"[object] (Shopware\\Core\\Content\\Category\\Exception\\CategoryNotFoundException(code: 0): Category \"913d757ff7bb4efa990b4e6ab3ed5a8b\" not found. at /var/www/clients/client6/web86/web/shopware/vendor/shopware/core/Content/Category/Service/NavigationLoader.php:67)"} []

```

Viele Grüße

Patrick

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [27. November 2019 um 09:32 UTC](https://forum.shopware.com/t/categorynotfoundexception/63207/2 "2019-11-27T09:32:50Z")

</div>

Vielleicht die Kategorie darüber nicht aktiv oder sowas?

---

<div class="post-metadata">

**Author:** ![d2g\_patrick](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/d2g_patrick/32/16618_2.png) [@d2g\_patrick](https://forum.shopware.com/u/d2g_patrick)\
**Post date:** [27. November 2019 um 09:49 UTC](https://forum.shopware.com/t/categorynotfoundexception/63207/3 "2019-11-27T09:49:57Z")

</div>

Es ist alles aktiv und diese ist dem Sales Channel als Einsteigspunkt zugewiesen.

---

<div class="post-metadata">

**Author:** ![d2g\_christian](https://avatars.discourse-cdn.com/v4/letter/d/6f9a4e/32.png) [@d2g\_christian](https://forum.shopware.com/u/d2g_christian)\
**Post date:** [27. November 2019 um 15:18 UTC](https://forum.shopware.com/t/categorynotfoundexception/63207/4 "2019-11-27T15:18:13Z")

</div>

Die Fehlermeldung sagt wohl auch aus, dass eine Kategorie nicht aktiv sein soll.

Ich habe aber alle Kategorien noch einmal kontrolliert und es sind alle aktiv.&nbsp;

Woran kann das evtl. noch liegen [@Moritz Naczenski]([http://forum.shopware.com/profile/14574/Moritz](http://forum.shopware.com/profile/14574/Moritz) Naczenski „Moritz Naczenski“)‍?

Viele Grüße

Christian

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [27. November 2019 um 16:31 UTC](https://forum.shopware.com/t/categorynotfoundexception/63207/5 "2019-11-27T16:31:46Z")

</div>

Auch wenn ihr eine neue Kategorie anlegt?

---

<div class="post-metadata">

**Author:** ![d2g\_patrick](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/d2g_patrick/32/16618_2.png) [@d2g\_patrick](https://forum.shopware.com/u/d2g_patrick)\
**Post date:** [28. November 2019 um 07:55 UTC](https://forum.shopware.com/t/categorynotfoundexception/63207/6 "2019-11-28T07:55:52Z")

</div>

Muss die Footer Kategorie eine Root Kategorie sein oder sollte diese direkt unter einer Root Kategorie angelegt werden?

Viele Grüße

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [28. November 2019 um 08:35 UTC](https://forum.shopware.com/t/categorynotfoundexception/63207/7 "2019-11-28T08:35:53Z")

</div>

Sollte beides gehen, in den demodaten sind die auch voneinander getrennte Kategoriebäume.

Hast du denn alle Dropdowns im Sales Channel gefüllt oder ist da irgendwo ein leerer Eintrag?

---

<div class="post-metadata">

**Author:** ![d2g\_christian](https://avatars.discourse-cdn.com/v4/letter/d/6f9a4e/32.png) [@d2g\_christian](https://forum.shopware.com/u/d2g_christian)\
**Post date:** [28. November 2019 um 09:46 UTC](https://forum.shopware.com/t/categorynotfoundexception/63207/8 "2019-11-28T09:46:27Z")

</div>

> [@Moritz Naczenski schrieb:](https://forum.shopware.com/profile/14574/Moritz%20Naczenski "Moritz%20Naczenski")  
> Hast du denn alle Dropdowns im Sales Channel gefüllt oder ist da irgendwo ein leerer Eintrag?

&nbsp;

Meinst Du das damit?

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/c/c49bf019a42063d2a41a1565b636799e5c929837.png)

&nbsp;

Dann ja, die Einstiegspunkte sind alle gefüllt.&nbsp;

Viele Grüße

Christian

---

<div class="post-metadata">

**Author:** ![d2g\_christian](https://avatars.discourse-cdn.com/v4/letter/d/6f9a4e/32.png) [@d2g\_christian](https://forum.shopware.com/u/d2g_christian)\
**Post date:** [28. November 2019 um 10:21 UTC](https://forum.shopware.com/t/categorynotfoundexception/63207/9 "2019-11-28T10:21:53Z")

</div>

Wir haben den Kategoriebaum noch einmal für den Footer komplett neu angelegt. Jetzt funktioniert es.&nbsp;

---

<div class="post-metadata">

**Author:** ![digitalconnect](https://avatars.discourse-cdn.com/v4/letter/d/a6a055/32.png) [@digitalconnect](https://forum.shopware.com/u/digitalconnect)\
**Post date:** [9. Juli 2020 um 12:54 UTC](https://forum.shopware.com/t/categorynotfoundexception/63207/10 "2020-07-09T12:54:04Z")

</div>

Hallo an alle und danke für die bereits erwähnten Lösungsvorschläge.

Wir haben nach dem Update von 6.1.x auf 6.2.2 ein ähnliches Problem. Nach dem Update ist die Seite bis auf den Header mit Logo, Suche und Warenkorb komplett leer&nbsp;. Die Hauptnavigation, Block Elemente&nbsp;und auch die Footer Navigation werden nicht angezeigt.

Die&nbsp;CategoryNotFoundException wird auch wie bei @d2g\_patrick‍ geworfen, nur mit einer Kategorie-ID&nbsp;die es gar nicht&nbsp;gibt. Sobald ich im Verkaufskanal die Kategorie für „Einsprungpunkt für die Footer-Navigation“ entferne, wird die Webseite wieder mit Hauptnavigation gerendert. Seltsam ist nur, das die ID aus der Exception nicht die der Footer Kategorie ist?!

Will ich die Kategorie wieder zu „Einsprungpunkt für die Footer-Navigation“ hinzufügen, wird die Kategorie nicht mehr angezeigt. Auch eine komplett neu angelegt Kategorie wird nicht im Dropdown für „Einsprungpunkt für die Footer-Navigation“ angezeigt. Cache und Index habe ich bereits aktualsiert&nbsp;und den Cache Ordner manuell via Terminal gelöscht, kein Erfolg.

Hat von euch jemand eine Idee wo ich hier noch ansetzen könnte? Benötigt die Kategorie für den Footer besondere Einstellungen, um im Dropdown für „Einsprungpunkt für die Footer-Navigation“ auswählbar zu sein?

Viele Grüße

Sebastian (Shopware Neuling)
