Zenit Design - Themes
Buy themeThemesSupport
EN
EN
  • First steps
  • Start Guides
    • Atmos - Demo 1
    • Atmos - Demo 2
    • Atmos - Demo 3
    • Atmos - Demo 4
    • Gravity - Demo 1
    • Gravity - Demo 2
    • Horizon - Demo 1
    • Horizon - Demo 2
    • Sphere - Demo 1
    • Sphere - Demo 2
    • Stratus - Demo 1
    • Stratus - Demo 2
    • Stratus - Demo 3
    • Stratus - Demo 4
  • Tips
    • Dashboard
    • Theme configuration
    • Dictionary
    • Multiple sales channels
  • Configuration sets
  • Support
    • Read errors
    • Find cause
  • 🎨Styling
    • General
      • Basic layout
      • Product images
      • Produkt Layout-Typ
      • Global background
      • Preloader
      • Accent line
      • Scroll animation
    • Typo & Colors
      • Theme colors
      • Status messages
      • Fonts
      • Typography
      • E-Commerce
      • Buttons
    • Logos
    • Header
      • Header
      • Search
      • Top bar
      • Shop navigation
      • Main navigation
      • Flyout navigation
      • Dropdown navigation
    • Footer
      • Footer
      • Content
      • Columns
      • Columns styling
      • Footer bottom
    • Components
      • Sidebar
      • Sidebar navigation
      • Forms
      • Image & gallery slider
      • Produkt slider
      • Category Listing Slider
      • Pagination
      • Breadcrumbs
      • Cookie banner
      • Offcanvas
      • Backdrop
      • Scroll-Up button
    • Category
      • Category header
      • Hero section
      • Filter
      • Listing actions
      • Product boxes
      • Quickview
    • Product
      • Detail
      • Gallery
      • Description
      • Description navigation
      • Description content
    • Checkout
      • Cart
      • Checkout
  • ⚙️SETTINGS
    • Basic settings
    • Custom field assignment
      • Custom fields for product page details
      • Custom fields for product datasheets
    • Social media icons
    • Marketing text slider
    • Custom tab details page
    • Custom footer columns
    • Custom code
  • 📂Contents
    • Shopping experiences
      • Sections
      • Blocks
        • Elements
          • Image text slider
          • Search banner
          • Text banner
          • Teaser
          • Features
          • Breadcrumbs
          • Code
          • Divider
          • Category-navigation
          • Footer navigation
          • Placeholder
        • Commerce
          • Image gallery and buy box with product name & manufacturer logo
          • Image gallery and buy box with product name & manufacturer logo & description
          • Image gallery and buy box with description
          • Image gallery with description and buy box with product name & manufacturer logo
        • Category
          • Category listing
        • Columns
        • Layouts
      • Block inner spacings
      • Block outer spacings
      • Animations
      • CSS Variables
    • Category
      • Hero section
      • Category header
      • CSS classes
      • Category badges
      • Category Icons
      • Products per row
    • Product page
      • Layouts
      • Default layout
      • Gallery mode
      • Custom tabs
      • Videos tab
      • Datasheets
    • Product images
      • Image sizes
      • Aspect ratio
      • File format
      • Product image background
    • Layout type
    • Responsive tables
    • Multilingualism
  • 🎓Tutorials
    • Demodata import
    • Demo theme configuration import
    • Duplicate Child-Theme
    • Customizations
    • Configuration export/import
    • Custom Fields export/import
    • Embed fonts locally
    • Embed fonts locally with child-theme
  • 🛠️Update Guides
    • Child theme update
    • Shopware 6.6.9.0
    • Shopware 6.6.0.0
    • Shopware 6.5.0.0
    • Theme 3.5.3
    • Theme 2.11.0
  • ❓FAQ
    • Overview
    • Accessibility
      • Typography
      • Colors
      • Images
      • Video
      • Accessibility checker and resources
    • General
      • Copyright notice
      • Wishlist
    • Product layout
    • Licenses
      • Trial version vs full version
      • Changing the licence domain
    • Derivations
      • Child theme
      • Theme duplicate
      • Child theme vs theme duplicate
    • Updates
      • Theme is displayed as incompatible
      • Update is not displayed
    • Known issues
      • Could not assign child-theme
      • Text modules show technical name
      • Theme save error
      • SVG logo is not displayed
      • Search / Input mobile zoom
      • Text is not visible / readable
Powered by GitBook
On this page
  • What happens when you save
  • Common causes are:
  • How to solve this problem?
  • Check edits
  • Since when does the error exist
  • Identify theme as cause

Was this helpful?

  1. FAQ
  2. Known issues

Theme save error

When saving the theme, a 500 error occurs if you enter the wrong data.

Last updated 1 year ago

Was this helpful?

Occasionally, you may have changed a setting in the theme or another extension and an error is thrown as a result when saving / compiling the theme. Often the error messages of Shopware are not understandable and the search for the error begins. We would like to give you a little help to find common error sources faster.

What happens when you save

When you save a theme, the values set in the theme configuration are applied and a CSS (stylesheet) file is created for output to the storefront.

To be able to use the variables of the theme configuration, a so-called "preprocessor" for is used in the background instead of CSS. Shopware 6 uses for this purpose. When saving the theme, individual SCSS files are converted into a simple CSS file and the variables are stored as fixed values of the respective property.

If a variable does not exist, is written incorrectly or there is a syntax error, this process is stopped and the error appears in the administration.

Common causes are:

  1. a variable was written incorrectly

  2. a variable was specified that does not exist

  3. a syntax error was provoked (this can already happen if a color value consists only of 5 instead of 6 digits. Example: #12345 vs. #123456 )

  4. A new extension was installed and has an error in a SCSS file

  5. Individual customizations in the theme can trigger the problem

  6. The server does not have enough memory to perform the compilation.

How to solve this problem?

Root cause analysis is the first step in fixing the error. Often it is not clear whether a theme, an app / plugin or Shopware itself is the cause of an error.

Check edits

Consider what was last changed in the theme configuration. Have any adjustments been made here recently? Then you have to check them.

Since when does the error exist

Occasionally it happens that such an error has existed for a long time and only appears when another extension is installed and the theme is compiled again.

Identify theme as cause

Always work in small steps - do not make too many changes at once. It is better to make only a few changes and compile in between by saving the theme again and again. This way you can track down the cause more easily, should one of your changes have led to an error.

❓
❌
✅
CSS
SASS/SCSS
Find cause