# Unable to compile the theme "Shopware default theme"

**URL:** <https://forum.shopware.com/t/unable-to-compile-the-theme-shopware-default-theme/102193>\
**Category:** Shopware 6 (German)\
**Created:** [6. Dezember 2023 um 14:50 UTC](https://forum.shopware.com/t/unable-to-compile-the-theme-shopware-default-theme/102193 "2023-12-06T14:50:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![welle](https://avatars.discourse-cdn.com/v4/letter/w/a9a28c/32.png) [@welle](https://forum.shopware.com/u/welle)\
**Post date:** [6. Dezember 2023 um 14:50 UTC](https://forum.shopware.com/t/unable-to-compile-the-theme-shopware-default-theme/102193/1 "2023-12-06T14:50:14Z")

</div>

Hallo,  
2 Probleme … erstens, wenn ich eine (gekaufte) Erweiterung deaktivieren möchte bekomme ich die Mitteilung: Bad Request - Unable to compile the theme „Shopware default theme“. Error while trying to write compiled files: Unable to delete directory located at: … …  
Das gleiche wenn ich mein gekauftes (anstelle Shopware default) Theme aktiv habe.

Zweitens, greife ich mit ssh auf meinen Server zu und gebe ein theme:compile,  
erhalte ich folgendes:  
Composer detected issues in your platform:

Your Composer dependencies require a PHP version „\>= 8.2.0“. You are running 8.1.25.

PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version „\>= 8.2.0“.  
You are running 8.1.25. in /home/vendor/composer/platform\_check.php on line 24[nuggike1@75:~/ www 255 $

Ich hatte mal Composer installiert um zu erfahren wie die Installation via Composer funktioniert … benutze jedoch Composer nicht … Frage: Wie kann ich Composer wieder deinstallieren?  
Würde eine Deinstallation dieses Problem lösen?

---

<div class="post-metadata">

**Author:** ![welle](https://avatars.discourse-cdn.com/v4/letter/w/a9a28c/32.png) [@welle](https://forum.shopware.com/u/welle)\
**Post date:** [6. Dezember 2023 um 15:45 UTC](https://forum.shopware.com/t/unable-to-compile-the-theme-shopware-default-theme/102193/2 "2023-12-06T15:45:32Z")

</div>

Ich kann keine Erweiterung (ausser die von Shopware Migrations-Assitent und Shopware Store) mehr deaktivieren, sogar das deinstallieren geht nicht mehr.

Unable to compile the theme „Shopware default theme“. Error while trying to write compiled files: Unable to delete directory located at: theme/e88e183816a14e449d66cd05f138754b. Unable to delete file at /home/…Pfad/public/theme/e88e183816a14e449d66cd05f138754b/assets/icon/default

oder auch mal …/assets/icon/solid

Shopware 6.5.7.3
