Navigation

ThemeWare® Knowledge Base

Unable to find the theme

The message Bad Request, Unable to find the theme appears when Shopware cannot find a theme it needs. Causes and the solution in three steps.

Applies to Shopware 6.7 · Checked on

Shopware reports this error when it cannot find a theme it needs while saving or compiling. This happens when a theme that another theme builds on is no longer installed or not active, or when the database entry of a theme is missing.

Description

In the administration, for example when saving the theme configuration or assigning a theme, you receive a message with the title "Bad Request":

Unable to find the theme "{themeName}"

In current Shopware versions the same message reads:

Could not find theme with name "{themeName}"

Error message Bad Request, Unable to find the theme in the Shopware administration

Note: This error is very rare.

Cause

The message contains the technical name of the theme Shopware is missing. There are two reasons for this:

  • A theme builds on another theme that is missing. A theme duplicate, a custom theme or an extension refers to a theme that has been uninstalled or deactivated.
  • The entry of the theme is missing in the database. The theme is assigned to a sales channel, but Shopware no longer knows it.

Solution

  1. Open "Extensions" => "My extensions" and switch to the "Themes" tab. Check whether the theme named in the message is installed and active. Install or activate it: Installing ThemeWare®
  2. If the theme is active and the error remains, refresh and compile the themes. To do this, run these commands in the root directory of your Shopware installation:
bin/console theme:refresh
bin/console theme:compile
  1. Assign the theme to your sales channel again and save: Assigning ThemeWare®

Note: If you do not have access to the command line, contact your hosting provider or your agency. The Shopware Cloud has no command line access, please contact the Shopware support there.

Last updated on

More from ThemeWare®: About ThemeWare® · Demoshops · Manual · Video tutorial · Utilities

This page online: https://knowledge.themeware.design/knowledge-base/common-issues/administration/bad-request-unable-to-find-the-theme · ThemeWare® Service Portal, service.themeware.design