Xenofobka
Проверенные
- Сообщения
- 120
- Реакции
- 23
- Баллы
- 5,515
Добрый вечер. Помогите пожалуйста "отловить ошибку"
Как я поняла где-то не хватает закрывающей кавычки, но вот где?
XF\CssRenderException: Error rendering template public:core.less: ParseError: missing closing `}` in public:core.less on line 18061, column 29 (on or near line 18061)
src/XF/CssRenderException.php:87
Трассировка стека
Содержимое запроса
Как я поняла где-то не хватает закрывающей кавычки, но вот где?
XF\CssRenderException: Error rendering template public:core.less: ParseError: missing closing `}` in public:core.less on line 18061, column 29 (on or near line 18061)
src/XF/CssRenderException.php:87
Трассировка стека
Код:
18058 | @media (min-width: 1170px) { content: "Max > 1170px"; }
18059 | @media (max-width: 900px) { content: "Wide < 900px"; }
18060 | @media (max-width: 650px) { content: "Medium < 650px"; }
*18061*| @media (max-width: 480px) { content: "Narrow < 480px"; }
18062 | }
18063 | }
------------
#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, 21, 2, '989c18bc81f71a9...')
#6 {main}
-------------
Previous Less_Exception_Chunk: ParseError: missing closing `}` in anonymous-file-0.less on line 18061, column 29
18059| @media (max-width: 900px) { content: "Wide < 900px"; }
18060| @media (max-width: 650px) { content: "Medium < 650px"; }
18061| @media (max-width: 480px) { content: "Narrow < 480px"; }
18062| }
18063| } - 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, 21, 2, '989c18bc81f71a9...')
#8 {main}
Код:
array(4) {
["url"] => string(175) "/forum/css.php?css=public%3Anormalize.css%2Cpublic%3Acore.less%2Cpublic%3Aapp.less%2Cpublic%3Auix_classic.less&s=21&l=2&d=1587752340&k=989c18bc81f71a91b7795f4b33fbd99be582b6de"
["_GET"] => array(5) {
["css"] => string(77) "public:normalize.css,public:core.less,public:app.less,public:uix_classic.less"
["s"] => string(2) "21"
["l"] => string(1) "2"
["d"] => string(10) "1587752340"
["k"] => string(40) "989c18bc81f71a91b7795f4b33fbd99be582b6de"
}
["_POST"] => array(0) {
}
}