XF 2.0 I am having an error Less_Exception_Chunk: ParseError: unmatched `/*` in anonymous-file-553.less on line 1493

Roiarthur

Active member
Less_Exception_Chunk: ParseError: unmatched /* in anonymous-file-553.less on line 1493, column 1 1491| 1492| ---------------- 1493| / 1494| 1495| / 1496| 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(363): Less_Parser->parse('// Note that th...')
#3 src/XF/CssRenderer.php(311): XF\CssRenderer->renderToCss('public:extra.le...', '// Note that th...')
#4 src/XF/CssRenderer.php(235): XF\CssRenderer->renderTemplate('public:extra.le...', NULL)
#5 src/XF/CssRenderer.php(101): XF\CssRenderer->renderTemplates(Array, Array, Array)
#6 src/XF/CssWriter.php(53): XF\CssRenderer->render(Array)
#7 css.php(30): XF\CssWriter->run(Array, 35, 2, 'e7ec47a295f52fe...')
#8 {main}

array(4) {
["url"] => string(203) "/css.php?css=public%3Aalnb_navigation.less%2Cpublic%3Anotices.less%2Cpublic%3Arating_stars.less%2Cpublic%3Axfrm.less%2Cpublic%3Aextra.less&s=35&l=2&d=1536824286&k=e7ec47a295f52fe80df574c4ec3a1fbad966088c"
["referrer"] => string(101) "https://www.tutoriaux-excalibur.com/resources/patch-français-de-camelsystem-powerpost.18/history"
["_GET"] => array(5) {
["css"] => string(107) "public:alnb_navigation.less,public:notices.less,public:rating_stars.less,public:xfrm.less,public:extra.less"
["s"] => string(2) "35"
["l"] => string(1) "2"
["d"] => string(10) "1536824286"
["k"] => string(40) "e7ec47a295f52fe80df574c4ec3a1fbad966088c"
}
["_POST"] => array(0) {
}
}
 
This is typically caused by invalid Less code, likely specific to one of your styles (the one with ID 35) so you will need to identify the invalid code and remove it.
 
Top Bottom