# Fatal error: Uncaught exception 'RuntimeException'

**URL:** <https://forum.shopware.com/t/fatal-error-uncaught-exception-runtimeexception/36105>\
**Category:** Installation/Einstieg\
**Created:** [18. April 2016 um 14:52 UTC](https://forum.shopware.com/t/fatal-error-uncaught-exception-runtimeexception/36105 "2016-04-18T14:52:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Str33tfight3r](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@Str33tfight3r](https://forum.shopware.com/u/Str33tfight3r)\
**Post date:** [18. April 2016 um 14:52 UTC](https://forum.shopware.com/t/fatal-error-uncaught-exception-runtimeexception/36105/1 "2016-04-18T14:52:34Z")

</div>

Guten Tag,

wir hatten eben über die all.less sowie in \_modules header.less in unserem eigenen Template änderungen vorgenommen bezüglich der Logogröße.

Anscheinend dadurch erhalten wir folgende Meldung:

```
Fatal error: Uncaught exception 'RuntimeException' with message 'Shop 'DEINNAME (id: 1)' has no document template.' in /www/htdocs/w00aa/DEINNAME/engine/Shopware/Plugins/Default/Core/Router/Bootstrap.php:551 Stack trace: #0 /www/htdocs/w00aa/DEINNAME/engine/Shopware/Plugins/Default/Core/Router/Bootstrap.php(128): Shopware_Plugins_Core_Router_Bootstrap->validateShop(Object(Shopware\Models\Shop\DetachedShop)) #1 /www/htdocs/w00aa/DEINNAME/engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware_Plugins_Core_Router_Bootstrap->onRouteStartup(Object(Enlight_Controller_EventArgs)) #2 /www/htdocs/w00aa/DEINNAME/engine/Library/Enlight/Event/EventManager.php(213): Enlight_Event_Handler_Plugin->execute(Object(Enlight_Controller_EventArgs)) #3 /www/htdocs/w00aa/DEINNAME/engine/Library/Enlight/Controller/Front.php(161): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_EventArgs)) #4 /www/htdocs/w00aa/DEINNAME/engine/Shopware/Kernel.php(153): Enlight_Controller_Front->dispatch( in /www/htdocs/w00aa/DEINNAME/engine/Shopware/Plugins/Default/Core/Router/Bootstrap.php on line 551

```

Das Löschen des Templates brachte keine Änderung.

---

<div class="post-metadata">

**Author:** ![Str33tfight3r](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@Str33tfight3r](https://forum.shopware.com/u/Str33tfight3r)\
**Post date:** [18. April 2016 um 19:15 UTC](https://forum.shopware.com/t/fatal-error-uncaught-exception-runtimeexception/36105/2 "2016-04-18T19:15:12Z")

</div>

Fehler gefunden.

Unter Einstellungen -\> Grundeinstellungen -\> Shops, war auf einmal kein Dokumenten-Template ausgewählt, wieso auch immer.

Kann Jemand dies reproduzieren wie so etwas kommt?

---

<div class="post-metadata">

**Author:** ![jonaswagner](https://avatars.discourse-cdn.com/v4/letter/j/e8c25b/32.png) [@jonaswagner](https://forum.shopware.com/u/jonaswagner)\
**Post date:** [6. Juli 2021 um 11:51 UTC](https://forum.shopware.com/t/fatal-error-uncaught-exception-runtimeexception/36105/3 "2021-07-06T11:51:14Z")

</div>

Hi - ich hatte / habe ein ähnliches Problem bei mir. Immer wenn ich ein eigenes DokumentenTemplate wähle, dann wird auch das Theme rausgeworfen… echt schräg
