Not a bug XF\CssRenderException: Error rendering template

HePBiZ

Member
Affected version
2.3.0.8
  • XF\CssRenderException: Error rendering template public:message.less: ParseError: Unexpected input in public:message.less on line 1973, column 16 (on or near line 1973)
  • src/XF/CssRenderException.php:89

Yığın izleme​

1970 |
1971 | .message-responseRow
1972 | {
1973| margin-top: ( * -1);
1974 | background: rgb(248, 248, 248);
1975 | border-radius: 5px;
1976 | padding: 6px;
------------

#0 src/XF/CssRenderer.php(427): XF\CssRenderException::createFromLessException(Object(Less_Exception_Chunk), 'public:message....', '// Note that th...')
#1 src/XF/CssRenderer.php(361): XF\CssRenderer->renderToCss('public:message....', '// Note that th...')
#2 src/XF/CssRenderer.php(269): XF\CssRenderer->renderTemplate('public:message....', NULL)
#3 src/XF/CssRenderer.php(127): XF\CssRenderer->renderTemplates(Array, Array, Array)
#4 src/XF/CssWriter.php(60): XF\CssRenderer->render(Array)
#5 css.php(30): XF\CssWriter->run(Array, 31, 4, '507911c38be19be...')
#6 {main}

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

Previous Less_Exception_Chunk: ParseError: Unexpected input in anonymous-file-0.less on line 1973, column 16
1971| .message-responseRow
1972| {
1973| margin-top: ( * -1);
1974| background: rgb(248, 248, 248);
1975| border-radius: 5px;
1976| padding: 6px; - 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(423): Less_Parser->parse('// Note that th...')
#3 src/XF/CssRenderer.php(361): XF\CssRenderer->renderToCss('public:message....', '// Note that th...')
#4 src/XF/CssRenderer.php(269): XF\CssRenderer->renderTemplate('public:message....', NULL)
#5 src/XF/CssRenderer.php(127): XF\CssRenderer->renderTemplates(Array, Array, Array)
#6 src/XF/CssWriter.php(60): XF\CssRenderer->render(Array)
#7 css.php(30): XF\CssWriter->run(Array, 31, 4, '507911c38be19be...')
#8 {main}

Durum isteği​

array(4) {
["url"] => string(200) "/css.php?css=public%3Abb_code.less%2Cpublic%3Amessage.less%2Cpublic%3Anotices.less%2Cpublic%3Ashare_controls.less%2Cpublic%3Aextra.less&s=31&l=4&d=1665565793&k=507911c38be19be72b88b2f6803395d68fe3e836"
["referrer"] => bool(false)
["_GET"] => array(5) {
["css"] => string(104) "public:bb_code.less,public:message.less,public:notices.less,public:share_controls.less,public:extra.less"
["s"] => string(2) "31"
["l"] => string(1) "4"
["d"] => string(10) "1665565793"
["k"] => string(40) "507911c38be19be72b88b2f6803395d68fe3e836"
}
["_POST"] => array(0) {
}
}

The error I started getting after upgrading to 2.3.0.b8 is as follows. I didn't make any changes that might cause me to get this error. Can you help me?
 
Beta versions do not support xenforo... But they have definitely found a temporary solution. I think there will be a solution if you upgrade to the latest version. Unfortunately, beta versions are versions that have resolved problems and are not supported. Just because you needed help, I wrote it so that your topic would go back to the last topic.

İyikus.com is also my site. It's like a part of me...!
 
In my own project, open issues appeared in xenforo. I updated the Fix to the top version xenforo2.2.16 Patch 2 version and left it. When the xenforo2.3 fix version comes out, I will not switch until all my plugins I use are 2.3. When the plugins and theme I used were upgraded to version 2.3. Then I will switch. This is the only way to avoid causing major errors in PHP or errors in the functioning of the forum.!
 
However, it works generally stable. This error is not one of the errors I get very often. I thought it could be fixed if it was related to the version, but it could also be independent of that.
Thank you for your support
 
Back
Top Bottom