> For the complete documentation index, see [llms.txt](https://wiki.themeware.design/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.themeware.design/wissensdatenbank/haeufige-fehler/administration/unable-to-compile-the-theme.md).

# Unable to compile the theme...

## Fehlerbeschreibung

Du erhältst in der Theme-Konfiguration die Fehlermeldung `Unable to compile the theme "TcinnThemeWare..."`.

<figure><img src="/files/FlLcF8qSVaDLksnrrBGi" alt=""><figcaption></figcaption></figure>

## Ursache

Hier gibt es mehrere Möglichkeiten, denn dieser Fehler kann durch eine unbekannte Variable in einem Konfigurationsfeld oder durch ein falsch befülltest Konfiguratoinsfeld entstehen.

* Unable to compile the theme "TcinnThemeWare...". Undefined variable $...
* Unable to compile the theme "TcinnThemeWare...". parse error: failed at $...

Darüber gibt es durch die neuen Validierung der Theme-Konfiguration ab Shopware 6.6.9 neue Fehlermeldungen:

* Unable to compile the theme "TcinnThemeWare...". Error: argument \`$color\` of \`red($color)\` must be a color
* Unable to compile the theme "TcinnThemeWare...". $color: 0 is not a color
* Unable to compile the theme "TcinnThemeWare...". $color2: 0 is not a color

## Lösungen

Entscheidend ist der Teil direkt nach der Meldung `Unable to compile the theme "..."`. Dort steht `Undefined variable $...` oder `parse error: failed at $...` oder ein Verweis auf die Variable `$color` bzw. `$color2`.

#### Unable to compile the theme "TcinnThemeWare...". <mark style="background-color:orange;">Undefined variable $...</mark>

{% content-ref url="/pages/VgyAX1ZW4SLpCcyiF4oI" %}
[Undefined variable $...](/wissensdatenbank/haeufige-fehler/administration/undefined-variable.md)
{% endcontent-ref %}

#### Unable to compile the theme "TcinnThemeWare...". <mark style="background-color:orange;">parse error: failed at $...</mark>

{% content-ref url="/pages/z3wYGnSI7EGHVzhvBUkZ" %}
[Parse error: failed at $...](/wissensdatenbank/haeufige-fehler/administration/parse-error.md)
{% endcontent-ref %}

#### Unable to compile the theme "TcinnThemeWare...". <mark style="background-color:orange;">Error: argument \`$color\` of</mark> \`red($color)\` must be a color

{% content-ref url="/pages/0icJYJRQykKorLOcwItI" %}
[Error: argument '$color'](/wissensdatenbank/haeufige-fehler/administration/error-argument-color.md)
{% endcontent-ref %}

#### Unable to compile the theme "TcinnThemeWare...". <mark style="background-color:orange;">$color: 0 is not a color</mark>

{% content-ref url="/pages/l70k4YavESsNA5jVLOIW" %}
[$color: 0 is not a color](/wissensdatenbank/haeufige-fehler/administration/color-0-is-not-a-color.md)
{% endcontent-ref %}

#### Unable to compile the theme "TcinnThemeWare...". <mark style="background-color:orange;">$color2: 0 is not a color</mark>

{% content-ref url="/pages/hGsfF3dVGDTXcqm8jBpz" %}
[$color2: 0 is not a color](/wissensdatenbank/haeufige-fehler/administration/color2-0-is-not-a-color.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://wiki.themeware.design/wissensdatenbank/haeufige-fehler/administration/unable-to-compile-the-theme.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
