# Fehler mit IconSet (kein IconSet vorhanden?) (Path cannot be empty)

**URL:** <https://forum.shopware.com/t/fehler-mit-iconset-kein-iconset-vorhanden-path-cannot-be-empty/105010>\
**Category:** Shopware 6 (German)\
**Tags:** general, installation--gettin, themes--design\
**Created:** [29. August 2024 um 06:56 UTC](https://forum.shopware.com/t/fehler-mit-iconset-kein-iconset-vorhanden-path-cannot-be-empty/105010 "2024-08-29T06:56:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonathan.riedmair](https://avatars.discourse-cdn.com/v4/letter/j/eada6e/32.png) [@jonathan.riedmair](https://forum.shopware.com/u/jonathan.riedmair)\
**Post date:** [29. August 2024 um 06:56 UTC](https://forum.shopware.com/t/fehler-mit-iconset-kein-iconset-vorhanden-path-cannot-be-empty/105010/1 "2024-08-29T06:56:07Z")

</div>

Hallo,

Seit kurzem funktioniert der Shop nicht mehr.

**Fehlermeldung:**

```bash
request.CRITICAL: Uncaught PHP Exception 
Shopware\Storefront\Controller\Exception\StorefrontException:
"Can not render @Storefront/storefront/base.html.twig view: An exception has been thrown during the rendering of a template ("Path cannot be empty"). 
with these parameters: {"themeIconConfig":[]}" at base.html.twig line 25

```

Im `StorefrontSubscriber.php::addIconSet()` wird als `themeIconConfig` ein leeres Array gesetzt. Offenbar erwartet er hier aber ein „Icon-Set“. Die Funktion `$themeConfig->getIconSets()` (Zeile 314) gibt kein IconSet zurück, aber woran liegt das???

**Was ich versucht habe:**

- Theme wechseln
- Alle Plugins deaktivieren
- Ins `dev`-Environment wechseln
- `theme:refresh`
- `theme:compile`
- `theme:prepare-icons vendor/shopware/storefront/Resources/app/storefront/dist/assets/icon/default default -c true -r evenodd`
- `cache:clear`
- `assets:install`
- `media:update-path`

Leider alles ohne Erfolg.

Hat jemand eine Idee?

Danke!

---

<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:** [29. August 2024 um 09:07 UTC](https://forum.shopware.com/t/fehler-mit-iconset-kein-iconset-vorhanden-path-cannot-be-empty/105010/2 "2024-08-29T09:07:18Z")

</div>

> [@jonathan.riedmair](#):
>
> aber woran liegt das?

Hast du in der Standard Theme Konfiguration eine Option gesehen, dass Icon-Set auszuwählen? Ich könnte mich nicht daran erinnern. Sprich vermutlich wird der Wert in der Theme Konfiguration nicht gesetzt sein. Da würde dann nur ein manueller Eingriff in der Datenbank helfen, wenn ich Recht habe, außer in PHP wird irgendwo ein Default Wert hierfür gesetzt.

---

<div class="post-metadata">

**Author:** ![jonathan.riedmair](https://avatars.discourse-cdn.com/v4/letter/j/eada6e/32.png) [@jonathan.riedmair](https://forum.shopware.com/u/jonathan.riedmair)\
**Post date:** [29. August 2024 um 09:08 UTC](https://forum.shopware.com/t/fehler-mit-iconset-kein-iconset-vorhanden-path-cannot-be-empty/105010/3 "2024-08-29T09:08:11Z")

</div>

> [@Max\_Shop](#):
>
> . Sprich vermutlich wird der Wert in der Theme Konfiguration nicht gesetzt sein.

In der Dokumentation steht aber auch überhaupt nix von einer IconSet Konfiguration in der theme-config. Das ist sicher nur das Ergebnis eines ganz anderen Problems. Ich erinnere mich das `/tmp`-Verzeichnis gelöscht zu haben, seit dem tritt das möglicherweise auf. (nicht `./tmp` im Shop-Verzeichnis)

---

<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:** [29. August 2024 um 09:12 UTC](https://forum.shopware.com/t/fehler-mit-iconset-kein-iconset-vorhanden-path-cannot-be-empty/105010/4 "2024-08-29T09:12:48Z")

</div>

Mir wäre neu, dass es im Shopware Verzeichnis ein tmp Verzeichnis gibt.

---

<div class="post-metadata">

**Author:** ![jonathan.riedmair](https://avatars.discourse-cdn.com/v4/letter/j/eada6e/32.png) [@jonathan.riedmair](https://forum.shopware.com/u/jonathan.riedmair)\
**Post date:** [29. August 2024 um 09:13 UTC](https://forum.shopware.com/t/fehler-mit-iconset-kein-iconset-vorhanden-path-cannot-be-empty/105010/5 "2024-08-29T09:13:37Z")

</div>

Hab das Problem lösen können.

Musste in der `php.ini` `upload_tmp_dir = /tmp` setzen.

---

<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:** [28. September 2024 um 09:14 UTC](https://forum.shopware.com/t/fehler-mit-iconset-kein-iconset-vorhanden-path-cannot-be-empty/105010/6 "2024-09-28T09:14:31Z")

</div>

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