# 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](https://knowledge.themeware.design/knowledge-base/shopware/configuration/themes/assign-shopware-default-theme "mention")
{% endhint %}
