SFFNetwork
Member
- Affected version
- 2.1.8 Patch 2
Our website is more or less broken upon completing the update to 2.1.8 Patch 2. I've been digging through template files but can't find the specific template where this issue is.
Stack trace
Request state
Code:
XF\CssRenderException: Error rendering template public:core.less: ParseError: missing closing `}` in public:core.less on line 34444, column 2 (on or near line 34444) src/XF/CssRenderException.php:87
Stack trace
Code:
34441 | user-select: none;
34442 |
34443 | > span:before
*34444*| {
34445 | .m-faBase();
34446 | .m-faContent(@fa-var-cog);
34447 |
------------
#0 src/XF/CssRenderer.php(408): XF\CssRenderException::createFromLessException(Object(Less_Exception_Chunk), 'public:core.les...', '// Note that th...')
#1 src/XF/CssRenderer.php(342): XF\CssRenderer->renderToCss('public:core.les...', '// Note that th...')
#2 src/XF/CssRenderer.php(250): XF\CssRenderer->renderTemplate('public:core.les...', NULL)
#3 src/XF/CssRenderer.php(116): XF\CssRenderer->renderTemplates(Array, Array, Array)
#4 src/XF/CssWriter.php(53): XF\CssRenderer->render(Array)
#5 css.php(30): XF\CssWriter->run(Array, 17, 1, 'dda47655fd01980...')
#6 {main}
-------------
Previous Less_Exception_Chunk: ParseError: missing closing `}` in anonymous-file-0.less on line 34444, column 2
34442|
34443| > span:before
34444| {
34445| .m-faBase();
34446| .m-faContent(@fa-var-cog);
34447| - src/vendor/oyejorge/less.php/lib/Less/Parser.php:677
#0 src/vendor/oyejorge/less.php/lib/Less/Parser.php(621): Less_Parser->GetRules(NULL)
#1 src/vendor/oyejorge/less.php/lib/Less/Parser.php(449): Less_Parser->_parse()
#2 src/XF/CssRenderer.php(404): Less_Parser->parse('// Note that th...')
#3 src/XF/CssRenderer.php(342): XF\CssRenderer->renderToCss('public:core.les...', '// Note that th...')
#4 src/XF/CssRenderer.php(250): XF\CssRenderer->renderTemplate('public:core.les...', NULL)
#5 src/XF/CssRenderer.php(116): XF\CssRenderer->renderTemplates(Array, Array, Array)
#6 src/XF/CssWriter.php(53): XF\CssRenderer->render(Array)
#7 css.php(30): XF\CssWriter->run(Array, 17, 1, 'dda47655fd01980...')
#8 {main}
Request state
Code:
array(4) {
["url"] => string(200) "/forum/css.php?css=public%3Anormalize.css%2Cpublic%3Acore.less%2Cpublic%3Aapp.less%2Cpublic%3Auix_material.less%2Cpublic%3Auix_pro.less&s=17&l=1&d=1584841968&k=dda47655fd0198049367b9dd3a037d3c71fd159c"
["referrer"] => bool(false)
["_GET"] => array(5) {
["css"] => string(98) "public:normalize.css,public:core.less,public:app.less,public:uix_material.less,public:uix_pro.less"
["s"] => string(2) "17"
["l"] => string(1) "1"
["d"] => string(10) "1584841968"
["k"] => string(40) "dda47655fd0198049367b9dd3a037d3c71fd159c"
}
["_POST"] => array(0) {
}
}