# 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:&#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="/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 %}


---

# Agent Instructions: 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:

```
GET https://knowledge.themeware.design/knowledge-base/common-issues/administration/unable-to-compile-the-theme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
