# Keine Ausgabe von shopware.config (v6.4.0.0 RC 1)

**URL:** https://forum.shopware.com/t/keine-ausgabe-von-shopware-config-v6-4-0-0-rc-1/86900
**Category:** Programmierung
**Created:** [16. April 2021 um 09:17 UTC](https://forum.shopware.com/t/keine-ausgabe-von-shopware-config-v6-4-0-0-rc-1/86900 "2021-04-16T09:17:23Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![magnolia4gmbh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/magnolia4gmbh/32/13167_2.png) [@magnolia4gmbh](https://forum.shopware.com/u/magnolia4gmbh)
#### Post date: [16. April 2021 um 09:17 UTC](https://forum.shopware.com/t/keine-ausgabe-von-shopware-config-v6-4-0-0-rc-1/86900/1 "2021-04-16T09:17:23Z")

</div>

Wir testen gerade den v6.4.0.0 RC 1.  
Dabei ist uns aufgefallen, dass die Ausgabe von

```
{{ dump(shopware.config) }}

```

nicht mehr funktioniert.

![image](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/e/ef6f575f8a2d9aaf402206f5bddfe97fa32ac4d6.png)

Woran kann das liegen?

---

<div class="post-metadata">

### Author: ![netzperfekt](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/netzperfekt/32/7765_2.png) [@netzperfekt](https://forum.shopware.com/u/netzperfekt)
#### Post date: [16. April 2021 um 14:37 UTC](https://forum.shopware.com/t/keine-ausgabe-von-shopware-config-v6-4-0-0-rc-1/86900/2 "2021-04-16T14:37:30Z")

</div>

shopware.config ist entfallen und durch config() ersetzt: [platform/UPGRADE-6.4.md at 6.4.0.0 · shopware/platform · GitHub](https://github.com/shopware/platform/blob/6.4.0.0/UPGRADE-6.4.md#twig-system-config-theme-access)

(was somit nicht abwärtskompatibel ist und die Frage aufwirft, wie man mit Plugins umgehen soll, die sowohl unter 6.3 als auch \>= 6.4 laufen sollen, Ticket dazu, upvote wäre schön: [Shopware Issuetracker](https://issues.shopware.com/issues/NEXT-14570))

---

<div class="post-metadata">

### Author: ![sschreier](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sschreier/32/23296_2.png) [@sschreier](https://forum.shopware.com/u/sschreier)
#### Post date: [16. April 2021 um 15:04 UTC](https://forum.shopware.com/t/keine-ausgabe-von-shopware-config-v6-4-0-0-rc-1/86900/3 "2021-04-16T15:04:50Z")

</div>

Hallo,

das steht doch im Changelog ganz unten ( [platform/UPGRADE-6.4.md at 6.4.0.0 · shopware/platform · GitHub](https://github.com/shopware/platform/blob/6.4.0.0/UPGRADE-6.4.md#twig-system-config-theme-access) ): „The shopware.config variable was removed. To access a system config value inside twig, use config(‚my\_config\_key‘). The shopware.theme variable was removed. To access the theme config value inside twig, use theme\_config(‚my\_config\_key‘)“.

Grüße  
Sebastian

---

<div class="post-metadata">

### Author: ![inventivo](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/inventivo/32/11397_2.png) [@inventivo](https://forum.shopware.com/u/inventivo)
#### Post date: [10. Mai 2021 um 11:21 UTC](https://forum.shopware.com/t/keine-ausgabe-von-shopware-config-v6-4-0-0-rc-1/86900/4 "2021-05-10T11:21:01Z")

</div>

Welchen Sinn hat diese Änderung denn? Bzw. hat sie einen gravierenden Sinn?  
Andernfalls sind solche Änderungen doch einfach nur Stolpersteine.  
Zumindest eine Abwärtskompatibilität sollte gegeben sein. Ich denke da gerade an alle Plugins, in denen das nun geändert werden muss.

Nur, weil es im Changelog steht, ist es noch lange nicht sinnvoll oder gerechtfertigt ; )
