# Unable to compile the theme...

## Description

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

<figure><img src="https://1979975522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F178YilsPBIFHBAxTvcMo%2Fuploads%2F1eZN5IHqFgkfNXO3uwIm%2Fadmin--error-unable-to-compile-the-theme.png?alt=media&#x26;token=e50e0ad1-f79c-480d-a770-d18dbab04c1b" 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:&#x20;

* 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="undefined-variable" %}
[undefined-variable](https://knowledge.themeware.design/knowledge-base/common-issues/administration/undefined-variable)
{% endcontent-ref %}

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

{% content-ref url="parse-error" %}
[parse-error](https://knowledge.themeware.design/knowledge-base/common-issues/administration/parse-error)
{% 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="error-argument-color" %}
[error-argument-color](https://knowledge.themeware.design/knowledge-base/common-issues/administration/error-argument-color)
{% endcontent-ref %}

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

{% content-ref url="color-0-is-not-a-color" %}
[color-0-is-not-a-color](https://knowledge.themeware.design/knowledge-base/common-issues/administration/color-0-is-not-a-color)
{% endcontent-ref %}

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

{% content-ref url="color2-0-is-not-a-color" %}
[color2-0-is-not-a-color](https://knowledge.themeware.design/knowledge-base/common-issues/administration/color2-0-is-not-a-color)
{% endcontent-ref %}
