Problem description

When compiling the theme, the error message 'variable @variablenname is undefined in file' occurs. 


Solution

This error occurs occacionally when Shopware cannot deal with new update variables, which is technically not avoidable. In order to solve the problem, please follow the below instructions:


  1. Please ensure, that your ThemeWare plugin is activated.
  2. Open your Theme Manager and the configuration of your current theme. 
  3. Please save your configuration and compile your theme.


To solve the problem, these instructions can be followed at all times if the problem description shows the error 'variable @variablenname is undefined in file'.