# Theme Config Field Compiler Error

**URL:** <https://forum.shopware.com/t/theme-config-field-compiler-error/94709>\
**Category:** Themes & Design\
**Created:** [7. Juni 2022 um 11:34 UTC](https://forum.shopware.com/t/theme-config-field-compiler-error/94709 "2022-06-07T11:34:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![timsen](https://avatars.discourse-cdn.com/v4/letter/t/e19b73/32.png) [@timsen](https://forum.shopware.com/u/timsen)\
**Post date:** [7. Juni 2022 um 11:34 UTC](https://forum.shopware.com/t/theme-config-field-compiler-error/94709/1 "2022-06-07T11:34:43Z")

</div>

HI,

ich habe ein Theme erstellt und darin ein Confiog Feld erstellt:

```auto
        "fields": {
            "sw-color-brand-primary": {
              "value": "#97BF0D"
            },
            "pp-top-bar-left-text": {
                "label": {
                  "en-GB": "Text",
                  "de-DE": "Textinhalt links (HTML erlaubt)"
                },
                "type": "text",
                "value": "Willkommen",
                "editable": true,
                "tab": "ppTopBarTab",
                "block": "ppTopBar",
                "section": "ppTopBarTextLinks"
            }
        }

```

Das funktioniert auch, man kann kompilieren un das Feld erscheint im Backend in der Theme-Konfiguration mit dem Wert „Willkommen“. Wenn ich aber den Texte

„Wilkommen“  
ändere auf  
"XXX XXX - Kostenlose Beratung Mo. - Fr. 09 - 17 Uhr **test**"

kommt die Fehlermeldung  
" Error: Request failed with status code 400

Kompletten Fehler anzeigen…

Unable to compile the theme „XXtheme“. parse error: failed at `$pp-top-bar-left-text: XXX XXX - Kostenlose Beratung Mo. - Fr. 09 - 17 Uhr <strong> test </strong>;` (stdin) on line 23, at column 1  
"

Jemand ne Idee was das soll? Liegt das an Sonderzeichen im Feldinhalt?

mfg

tim

---

<div class="post-metadata">

**Author:** ![AlexBS](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@AlexBS](https://forum.shopware.com/u/AlexBS)\
**Post date:** [8. Juni 2022 um 07:04 UTC](https://forum.shopware.com/t/theme-config-field-compiler-error/94709/2 "2022-06-08T07:04:29Z")

</div>

Ohne die HTML Tags funktionierts?

---

<div class="post-metadata">

**Author:** ![timsen](https://avatars.discourse-cdn.com/v4/letter/t/e19b73/32.png) [@timsen](https://forum.shopware.com/u/timsen)\
**Post date:** [6. Juli 2022 um 05:50 UTC](https://forum.shopware.com/t/theme-config-field-compiler-error/94709/3 "2022-07-06T05:50:58Z")

</div>

Falls nochmal jemand das gleiche Problem hat. Man muss noch einen Wert ergänzen, dann gehts 🙂  
„scss“: false,
