> 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-deactivate-or-uninstall-theme.md).

# 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 %}
