# Theme kann nicht kompliert werden nach Update auf 5.4.1

**URL:** <https://forum.shopware.com/t/theme-kann-nicht-kompliert-werden-nach-update-auf-5-4-1/52006>\
**Category:** Themes & Design\
**Created:** [24. März 2018 um 14:36 UTC](https://forum.shopware.com/t/theme-kann-nicht-kompliert-werden-nach-update-auf-5-4-1/52006 "2018-03-24T14:36:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TGG\_4Bueromoebel](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@TGG\_4Bueromoebel](https://forum.shopware.com/u/TGG_4Bueromoebel)\
**Post date:** [24. März 2018 um 14:36 UTC](https://forum.shopware.com/t/theme-kann-nicht-kompliert-werden-nach-update-auf-5-4-1/52006/1 "2018-03-24T14:36:08Z")

</div>

Wir haben seit dem Update auf 5.4.1 folgendes Problem:

- im Backend kann keine Theme Kompilierung durchgeführt werden

- Front-End ist nicht mehr aufrufbar und es erscheint folgende Fehlermeldung:

**Fatal error** : Uncaught Error: Call to a member function getDiscardedLessThemes() on array in /var/www/vhosts/4carpets.de/httpdocs/engine/Shopware/Components/Theme/LessCollector.php:117 Stack trace: #0 /var/www/vhosts/4carpets.de/httpdocs/engine/Shopware/Components/Theme/Compiler.php(267): Shopware\Components\Theme\LessCollector-\>collectLessDefinitions(Object(Shopware\Models\Shop\Template), Object(Shopware\Models\Shop\DetachedShop)) #1 /var/www/vhosts/4carpets.de/httpdocs/engine/Library/Enlight/Template/Plugins/function.compileLess.php(62): Shopware\Components\Theme\Compiler-\>compileLess(‘1519873742’, Object(Shopware\Models\Shop\Template), Object(Shopware\Models\Shop\DetachedShop)) #2 /var/www/vhosts/4carpets.de/httpdocs/var/cache/production\_201803081536/templates/frontend\_Bare\_de\_DE\_1\_secure/e2/78/39/e2783944ee51ccfaf46e1f1b100b5d67d75dcd42.snippet.LSM.tpl.php(1280): smarty\_function\_compileLess(Array, Object(Enlight\_Template\_Default)) #3 /var/www/vhosts/4carpets.de/httpdocs/var/cache/production\_201803081536/templates/front in **/var/www/vhosts/4carpets.de/httpdocs/engine/Shopware/Components/Theme/LessCollector.php** on line **117**

Hat jemand eine Idee woran es liegen kann und wie man es beheben kann?

Vielen Dank für Eure Hilfe.
