# Unable to deactivate or uninstall theme

## Description

You get the following error message during a Shopware update or when deactivating or uninstalling a theme:

> Unable to deactivate or uninstall theme "{themeName}". Please remove the following theme assignments: {assignments}.

## Cause

As the error message says, a theme must no longer be assigned to a sales channel so that it can be deactivated or uninstalled.

## Solution

With this message, Shopware asks you to remove the assignment of a theme (see `{themeName}`) from the sales channel (see `{assignments}`).

In this case, simply assign the Shopware Standard Theme to the corresponding sales channel.

{% hint style="info" %}
**Note**: For information on how to assign the Shopware Standard Theme to a Sales Channel, see the following guide: [Assign Shopware default theme](/knowledge-base/shopware/configuration/themes/assign-shopware-default-theme.md)
{% endhint %}


---

# 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-deactivate-or-uninstall-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.
