Invalid configuration

Description

When saving the theme, you will receive the error message Invalid configuration – The configuration is faulty. The theme cannot be saved.

Cause

The message indicates that a custom configuration field in your theme contains an incorrect value.

ThemeWare® is delivered free of errors – however, in the case of individual customisations, minor typing errors may occasionally occur.

Note: In the cases known to date, the error was always due to an incorrectly filled colour configuration.

Solution

There are two ways to resolve this error:

  1. You have entered an incorrect value:

    • As the configuration could not be saved, the incorrect value was not applied. Reload the configuration and you can continue as normal.

  2. The value was already incorrect before the update from Shopware 6.6 to 6.7.

    • Try the theme configuration validation to get more info. For example:

      • SCSS Value "#9fa5ab;" is not valid for type "color"

      • SCSS Value "none" is not valid for type "color"

      • SCSS Value 'color' cannot be 'none'

    • If, for example, the validation gives you a colour value as the cause of the error, search your configuration for the incorrect value and correct it.

You can find more information about validation in the following article:

Validate the theme configuration

Why hasn't this error been noticed before?

You may not have noticed this error in Shopware 6.6. However, with Shopware 6.7, the validation of the theme configuration has been significantly improved so that even minor typos are now reliably detected.

Issue not solved?

If you could not solve the problem, simply start the ThemeWare® Debugging. You can open a support ticket in case you are not able to solve the problem yourself:

Last updated

Was this helpful?