Fixing invalid configuration fields
In this article, you will learn how to find and fix an invalid configuration field.
To fix invalid configuration fields, please follow the instructions below.
Some background information
If you are unable to save your configuration and/or receive a message to this effect when saving (e.g. "Invalid configuration"), this is usually due to an incorrectly filled configuration field.
If an error occurs, you have the following two options:
You filled a field incorrectly before saving.
The incorrect value will not be applied. Reload the configuration and everything will be fine again.
You filled in a field incorrectly before updating to Shopware 6.7.
You must now find the value and correct it.
In this article, we assume that you have already validated the configuration and received a message indicating the incorrect field.
If you have not yet validated the configuration, please proceed as described in the following article:
Validate the theme configurationTip: Use Shopware's colour picker to obtain a valid colour value.
Fixing invalid configuration fields
Let's assume you receive the message SCSS Value "#9fa5ab;" is not valid for type "color"
or SCSS Value "none" is not valid for type "color"
. Both are variants of the same problem, an incorrectly filled colour configuration.
In the first case, a copying error has crept in and a semicolon has been added:
#9fa5ab;
. In the second case, the valuenone
has been inserted. The valuenone
is not a valid value for a CSS/SCSS colour field. Usetransparent
orrgba(255, 255, 255, 0)
to "remove" a colour.
Open the administration of your shop
Open your theme configuration
Search each tab with your browser (e.g. Ctrl + F) for the incorrect value (e.g.
#9fa5ab;
ornone
)Tip: In the Pro Edition, you can expand all sections with the "Expand all" button next to the Save button and search through them all at once.
Once you have found the value, adjust the corresponding field
Save your changes
Your theme should now be saved again.
Further information
For more information about the "Invalid configuration" error, please refer to the following article:
Invalid configurationLast updated
Was this helpful?