• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 CSS Error!

Cylent1

Active member
#1
Hello!
I am running xf 1.5.5a fresh install locally.
I am trying to set an option for a add-on I am making.
However when I save my template edit, ONLY sidebar.css template throws me this error when I log out, or change to the default style. I dont have this issue any other template. The template edit does work! Any help is much appreciated.
error.PNG
 

Ralle

Active member
#2
Whenever I import a template through code using:
Code:
$styleModel->importStyleXml($document);
I get the same problem. I can usually fix it by manually re-importing the style.
 

Brogan

XenForo moderator
Staff member
#3
The error is related to a template referencing a style property which doesn't exist.

That error only appears in debug mode.