<!-- Source: https://service.themeware.design/en/wiki/knowledge-base/common-issues/administration/unable-to-deactivate-or-uninstall-theme
     All pages of this collection: https://service.themeware.design/en/wiki/llms.txt -->

# 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.md](../../shopware/configuration/themes/assign-shopware-default-theme.md "mention")
{% endhint %}
