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

Awaiting feedback Less_Exception_Compiler error

Affected version
2.0.0 Beta 1

Neal

Well-known member
#1
Two errors below. Not sure if this is related to adding a couple of website links to my navigation menu.

Code:
Server error log

Less_Exception_Compiler: .m-keyframes is undefined in anonymous-file-0.less src/vendor/oyejorge/less.php/lib/Less/Tree/Mixin/Call.php:148
Generated by: Unknown account 8 September 2017 at 18:40

Stack trace

#0 /***/*/*/***/*****/public_html/src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(147): Less_Tree_Mixin_Call->compile(Object(Less_Environment))
#1 /***/*/*/***/*****/public_html/src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(88): Less_Tree_Ruleset->EvalMixinCalls(Object(Less_Tree_Ruleset), Object(Less_Environment), 464)
#2 /***/*/*/***/*****/public_html/src/vendor/oyejorge/less.php/lib/Less/Parser.php(199): Less_Tree_Ruleset->compile(Object(Less_Environment))
#3 /***/*/*/***/*****/public_html/src/XF/CssRenderer.php(273): Less_Parser->getCss()
#4 /***/*/*/***/*****/public_html/src/XF/CssRenderer.php(254): XF\CssRenderer->renderToCss('public:core.les...', '\n\n// ##########...')
#5 /***/*/*/***/*****/public_html/src/XF/CssRenderer.php(202): XF\CssRenderer->renderTemplate('public:core.les...', NULL)
#6 /***/*/*/***/*****/public_html/src/XF/CssRenderer.php(82): XF\CssRenderer->renderTemplates(Array, Array, Array)
#7 /***/*/*/***/*****/public_html/src/XF/CssWriter.php(37): XF\CssRenderer->render(Array)
#8 /***/*/*/***/*****/public_html/css.php(29): XF\CssWriter->run(Array, 2, 1)
#9 {main}

Request state

array(3) {
  ["url"] => string(125) "/css.php?css=public%3Anormalize.css%2Cpublic%3Acore.less%2Cpublic%3Aapp.less%2Cpublic%3Afont_awesome.css&s=2&l=1&d=1504892414"
  ["_GET"] => array(4) {
    ["css"] => string(77) "public:normalize.css,public:core.less,public:app.less,public:font_awesome.css"
    ["s"] => string(1) "2"
    ["l"] => string(1) "1"
    ["d"] => string(10) "1504892414"
  }
  ["_POST"] => array(0) {
  }
}
Code:
Server error log

Less_Exception_Compiler: .m-stickyHeaderConfig is undefined in anonymous-file-1437.less src/vendor/oyejorge/less.php/lib/Less/Tree/Mixin/Call.php:148
Generated by: Unknown account 8 September 2017 at 18:40

Stack trace

#0 /***/*/*/***/*****/public_html/src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(147): Less_Tree_Mixin_Call->compile(Object(Less_Environment))
#1 /***/*/*/***/*****/public_html/src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(88): Less_Tree_Ruleset->EvalMixinCalls(Object(Less_Tree_Ruleset), Object(Less_Environment), 3)
#2 /***/*/*/***/*****/public_html/src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Ruleset->compile(Object(Less_Environment))
#3 /***/*/*/***/*****/public_html/src/vendor/oyejorge/less.php/lib/Less/Parser.php(199): Less_Tree_Ruleset->compile(Object(Less_Environment))
#4 /***/*/*/***/*****/public_html/src/XF/CssRenderer.php(273): Less_Parser->getCss()
#5 /***/*/*/***/*****/public_html/src/XF/CssRenderer.php(254): XF\CssRenderer->renderToCss('public:app.less', '\n\n@_nav-elTrans...')
#6 /***/*/*/***/*****/public_html/src/XF/CssRenderer.php(202): XF\CssRenderer->renderTemplate('public:app.less', NULL)
#7 /***/*/*/***/*****/public_html/src/XF/CssRenderer.php(82): XF\CssRenderer->renderTemplates(Array, Array, Array)
#8 /***/*/*/***/*****/public_html/src/XF/CssWriter.php(37): XF\CssRenderer->render(Array)
#9 /***/*/*/***/*****/public_html/css.php(29): XF\CssWriter->run(Array, 2, 1)
#10 {main}

Request state

array(3) {
  ["url"] => string(125) "/css.php?css=public%3Anormalize.css%2Cpublic%3Acore.less%2Cpublic%3Aapp.less%2Cpublic%3Afont_awesome.css&s=2&l=1&d=1504892414"
  ["_GET"] => array(4) {
    ["css"] => string(77) "public:normalize.css,public:core.less,public:app.less,public:font_awesome.css"
    ["s"] => string(1) "2"
    ["l"] => string(1) "1"
    ["d"] => string(10) "1504892414"
  }
  ["_POST"] => array(0) {
  }
}
 

Kier

XenForo Developer
Staff member
#2
Both .m-keyframes and .m-stickyHeaderConfig are defined in setup.less, which should be prepended to all .less templates. Would you check to ensure that you haven't inadvertently customized or cleared setup.less?