XF 2.3 Style broken after upgrading to 2.3

boeing747

Active member
Hi

After upgrade to 2.3 style is completely broken.

I've merged and reverted many outdated templates, but nothing has changed. It's frustrating to deal with numerous outdated templates manually after each upgrade.



Code:
XF\CssRenderException: Error rendering template public:uix_extendedFooter.less: ParseError: missing opening `{` in public:uix_extendedFooter.less on line 2208, column 1 (on or near line 2208)
src/XF/CssRenderException.php:89      
     
Stack trace

 2205 |     width: auto;
 2206 |
 2207 |
*2208*| }
 2209 |
 2210 | .m-faIcon(@url, @width: false, @direction: false)
 2211 | {
------------

#0 src/XF/CssRenderer.php(435): XF\CssRenderException::createFromLessException(Object(Less_Exception_Chunk), 'public:uix_exte...', '// Note that th...')
#1 src/XF/CssRenderer.php(371): XF\CssRenderer->renderToCss('public:uix_exte...', '// Note that th...')
#2 src/XF/CssRenderer.php(279): XF\CssRenderer->renderTemplate('public:uix_exte...', NULL)
#3 src/addons/ThemeHouse/UIX/XF/CssRenderer.php(40): XF\CssRenderer->renderTemplates(Array, Array, Array)
#4 src/XF/CssRenderer.php(135): ThemeHouse\UIX\XF\CssRenderer->renderTemplates(Array, Array, Array)
#5 src/XF/CssWriter.php(60): XF\CssRenderer->render(Array)
#6 src/addons/SV/RedisCache/XF/CssWriter.php(68): XF\CssWriter->run(Array, 21, 1, '9eb3406bec0a3c5...')
#7 css.php(32): SV\RedisCache\XF\CssWriter->run(Array, 21, 1, '9eb3406bec0a3c5...')
#8 {main}

-------------

Previous Less_Exception_Chunk: ParseError: missing opening `{` in anonymous-file-8.less on line 2208, column 1
2206|     
2207|     
2208| }
2209|
2210| .m-faIcon(@url, @width: false, @direction: false)
2211| { - src/vendor/oyejorge/less.php/lib/Less/Parser.php:625
#0 src/vendor/oyejorge/less.php/lib/Less/Parser.php(572): Less_Parser->GetRules(NULL)
#1 src/vendor/oyejorge/less.php/lib/Less/Parser.php(413): Less_Parser->_parse()
#2 src/XF/CssRenderer.php(431): Less_Parser->parse('// Note that th...')
#3 src/XF/CssRenderer.php(371): XF\CssRenderer->renderToCss('public:uix_exte...', '// Note that th...')
#4 src/XF/CssRenderer.php(279): XF\CssRenderer->renderTemplate('public:uix_exte...', NULL)
#5 src/addons/ThemeHouse/UIX/XF/CssRenderer.php(40): XF\CssRenderer->renderTemplates(Array, Array, Array)
#6 src/XF/CssRenderer.php(135): ThemeHouse\UIX\XF\CssRenderer->renderTemplates(Array, Array, Array)
#7 src/XF/CssWriter.php(60): XF\CssRenderer->render(Array)
#8 src/addons/SV/RedisCache/XF/CssWriter.php(68): XF\CssWriter->run(Array, 21, 1, '9eb3406bec0a3c5...')
#9 css.php(32): SV\RedisCache\XF\CssWriter->run(Array, 21, 1, '9eb3406bec0a3c5...')
#10 {main}

Request state

array(4) {
  ["url"] => string(376) "/css.php?css=public%3Abb_code.less%2Cpublic%3Aeditor.less%2Cpublic%3Amessage.less%2Cpublic%3Anotices.less%2Cpublic%3Ashare_controls.less%2Cpublic%3Asticky_post.less%2Cpublic%3Ath_uix_threadStarterPost.less%2Cpublic%3Auix.less%2Cpublic%3Auix_extendedFooter.less%2Cpublic%3Auix_material.less%2Cpublic%3Aextra.less&s=21&l=1&d=1714856973&k=9eb3406bec0a3c5b74ccab30cf99c47a6d7d3b05"
  ["referrer"] => bool(false)
  ["_GET"] => array(5) {
    ["css"] => string(256) "public:bb_code.less,public:editor.less,public:message.less,public:notices.less,public:share_controls.less,public:sticky_post.less,public:th_uix_threadStarterPost.less,public:uix.less,public:uix_extendedFooter.less,public:uix_material.less,public:extra.less"
    ["s"] => string(2) "21"
    ["l"] => string(1) "1"
    ["d"] => string(10) "1714856973"
    ["k"] => string(40) "9eb3406bec0a3c5b74ccab30cf99c47a6d7d3b05"
  }
  ["_POST"] => array(0) {
  }
}

Delete
 
As you are using a style by ThemeHouse, it would usually be sensible to hold off upgrading before they're able to provide an updated style. This would usually dramatically decrease the complexity and number of templates that need to be merged.
 
Back
Top Bottom