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

# Unable to compile the theme...

## Description

You get the error message `Unable to compile the theme "TcinnThemeWare..."` in the theme configuration.

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

## Cause

There are several possibilities here, because this error can be caused by an unknown variable in a configuration field or by an incorrectly filled configuration field.

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

In addition, there are new error messages due to the new validation of the theme configuration from Shopware 6.6.9:

* 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

## Solution

The part directly after the message `Unable to compile the theme "..."` is decisive. It says `Undefined variable $...` or `parse error: failed at $...` or a reference to the variable `$color` or `$color2`.

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

{% content-ref url="/pages/gGv4toDsNczOtfiDeGS0" %}
[Undefined variable $...](/knowledge-base/common-issues/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/UT0md6jb5K4uDJoe4C48" %}
[Parse error: failed at $...](/knowledge-base/common-issues/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/kWVWV9xQOau8IB8wzEmX" %}
[Error: argument '$color'](/knowledge-base/common-issues/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/Ykck4nHu3ln99xZrglIC" %}
[$color: 0 is not a color](/knowledge-base/common-issues/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/sZrJ1tKJUhtOPc1Cd3z7" %}
[$color2: 0 is not a color](/knowledge-base/common-issues/administration/color2-0-is-not-a-color.md)
{% endcontent-ref %}
