# ⚠️ Hinweis: Twig 3.28 legt die Administration in Shopware 6.7.6.0 – 6.7.11.1 lahm

**URL:** <https://forum.shopware.com/t/hinweis-twig-3-28-legt-die-administration-in-shopware-6-7-6-0-6-7-11-1-lahm/109244>\
**Category:** Shopware 6 (German)\
**Created:** [4. Juli 2026 um 16:08 UTC](https://forum.shopware.com/t/hinweis-twig-3-28-legt-die-administration-in-shopware-6-7-6-0-6-7-11-1-lahm/109244 "2026-07-04T16:08:16Z")\
**Posts on this page:** 6\
**Page:** 1

<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:** [4. Juli 2026 um 16:08 UTC](https://forum.shopware.com/t/hinweis-twig-3-28-legt-die-administration-in-shopware-6-7-6-0-6-7-11-1-lahm/109244/1 "2026-07-04T16:08:16Z")

</div>

**Was ist passiert?**  
Das gestrige Twig-Release 3.28.0 (03.07.2026) hat die `include()`-Funktion geändert: Sie gibt nun ein `Markup`-Objekt statt eines Strings zurück. Die Twig-Funktion `sw_include` von Shopware ist mit dieser Änderung nicht kompatibel – die Administration lädt nicht mehr und endet mit einem 500-Fehler.

TwigFeaturesWithInheritanceExtension::include(): Return value must be of type string, Twig\Markup returned

**Wer ist betroffen?**

- 🔴 Shopware 6.7.6.0 – 6.7.11.1: Die Administration ist vollständig defekt, sobald `twig/twig` auf 3.28.0 aktualisiert wird.
- 🟡 Shopware 6.7.1.0 – 6.7.5.1: Nur betroffen, wenn ein Plugin/Theme die Funktionssyntax `{{ sw_include(...) }}` in seinen Templates verwendet. Der Tag `{% sw_include %}` ist sicher.
- 🟢 Shopware 6.7.0.x, 6.6 und älter: Nicht betroffen.
- Die Storefront ist standardmäßig nicht betroffen, nur die Administration.

Betroffen seid ihr nur, wenn ihr `composer update` ausführt oder ein Plugin installiert, das Twig benötigt – oder bei einer Neuinstallation –, wodurch `twig/twig` 3.28.0 installiert wird. Wenn ihr seit dem **3. Juli** kein Update durchgeführt habt, ist euer Shop in Ordnung. Führt aber bitte die untenstehenden Befehle **vor** eurem nächsten Update aus.

Der Web Installer und die `shopware-cli` fügen das neue Repository bereits automatisch hinzu, sofern es noch nicht im Projekt vorhanden ist, um einen reibungslosen Übergang zu ermöglichen.

**Was ist auszuführen? 🛠**

```auto
composer config repositories.shopware-conflicts composer https://shopware.github.io/conflicts/
composer require shopware/conflicts

```

Dadurch wird die inkompatible Twig-Version blockiert und ihr seid bei zukünftigen Updates geschützt. Aufgrund der neuen Packagist-Regeln zur Versions-Unveränderlichkeit können wir diesen Schutz diesmal nicht direkt über Packagist ausliefern, daher ist das zusätzliche Repository notwendig.

Administration bereits defekt? Wird der 500-Fehler angezeigt?  
Führt die beiden Befehle oben aus und stuft Twig anschließend herunter:

```auto
composer update twig/twig --with-all-dependencies

```

Twig wird dann wieder auf 3.27.1 aufgelöst und die Administration funktioniert erneut.

**Wie geht es weiter?**  
Ein Patch-Release mit einem sauberen Code-Fix, der mit Twig 3.28+ kompatibel ist, wird veröffentlicht. Bis dahin sollte die neue Version vermieden werden.

Tracking-Issue: [Administration crashes with 500 error on Twig 3.26+ due to TwigFeaturesWithInheritanceExtension::include() strict return type · Issue #18028 · shopware/shopware · GitHub](https://github.com/shopware/shopware/issues/18028)

> **[Discord - Group Chat That’s All Fun & Games](https://discord.com/channels/1308047705309708348/1308075234938716274/1523065749051150489)**
>
> Discord is great for playing games and chilling with friends, or even building a worldwide community. Customize your own space to talk, play, and hang out.

---

<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:** [4. Juli 2026 um 16:26 UTC](https://forum.shopware.com/t/hinweis-twig-3-28-legt-die-administration-in-shopware-6-7-6-0-6-7-11-1-lahm/109244/2 "2026-07-04T16:26:45Z")

</div>



---

<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:** [4. Juli 2026 um 16:31 UTC](https://forum.shopware.com/t/hinweis-twig-3-28-legt-die-administration-in-shopware-6-7-6-0-6-7-11-1-lahm/109244/4 "2026-07-04T16:31:11Z")

</div>



---

<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:** [4. Juli 2026 um 20:48 UTC](https://forum.shopware.com/t/hinweis-twig-3-28-legt-die-administration-in-shopware-6-7-6-0-6-7-11-1-lahm/109244/6 "2026-07-04T20:48:43Z")

</div>



---

<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:** [7. Juli 2026 um 08:41 UTC](https://forum.shopware.com/t/hinweis-twig-3-28-legt-die-administration-in-shopware-6-7-6-0-6-7-11-1-lahm/109244/7 "2026-07-07T08:41:19Z")

</div>



---

<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:** [7. Juli 2026 um 08:42 UTC](https://forum.shopware.com/t/hinweis-twig-3-28-legt-die-administration-in-shopware-6-7-6-0-6-7-11-1-lahm/109244/8 "2026-07-07T08:42:52Z")

</div>

> **[Release Release v6.7.12.1 · shopware/shopware](https://github.com/shopware/shopware/releases/tag/v6.7.12.1)**
>
> Shopware 6.7.12.1 is a patch release that fixes a breaking issue introduced in the previous version, Shopware 6.7.12.0.
> Because Shopware 6.7.12.0 is not installable due to this issue, the improveme...
