XF 2.0 Less_Exception_Compiler:

ŽivaAkcija

Well-known member
What this error is ?

Code:
    Less_Exception_Compiler: error evaluating function `max` incompatible types index: 37532 src/vendor/oyejorge/less.php/lib/Less/Tree/Call.php:80

    Generated by: Nepoznat nalog 27.06.2018 u 09.39

Stack trace

#0 src/vendor/oyejorge/less.php/lib/Less/Tree/Expression.php(42): Less_Tree_Call->compile(Object(Less_Environment))
#1 src/vendor/oyejorge/less.php/lib/Less/Tree/Value.php(27): Less_Tree_Expression->compile(Object(Less_Environment))
#2 src/vendor/oyejorge/less.php/lib/Less/Tree/Rule.php(75): Less_Tree_Value->compile(Object(Less_Environment))
#3 src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Rule->compile(Object(Less_Environment))
#4 src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Ruleset->compile(Object(Less_Environment))
#5 src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Ruleset->compile(Object(Less_Environment))
#6 src/vendor/oyejorge/less.php/lib/Less/Parser.php(199): Less_Tree_Ruleset->compile(Object(Less_Environment))
#7 src/XF/CssRenderer.php(363): Less_Parser->getCss()
#8 src/XF/CssRenderer.php(311): XF\CssRenderer->renderToCss('public:message....', '// Note that th...')
#9 src/XF/CssRenderer.php(235): XF\CssRenderer->renderTemplate('public:message....', NULL)
#10 src/XF/CssRenderer.php(101): XF\CssRenderer->renderTemplates(Array, Array, Array)
#11 src/XF/CssWriter.php(53): XF\CssRenderer->render(Array)
#12 css.php(30): XF\CssWriter->run(Array, 1, 2, '4fae8c492f12476...')
#13 {main}

Request state

array(4) {
  ["url"] => string(223) "/css.php?css=public%3Aattachments.less%2Cpublic%3Aeditor.less%2Cpublic%3Alightbox.less%2Cpublic%3Amessage.less%2Cpublic%3Asnog_flags.less%2Cpublic%3Aextra.less&s=1&l=2&d=1530088722&k=4fae8c492f124769f8683897afb84914b308840a"
  ["referrer"] => string(58) "https://forumodnauke.ru/threads/drosera-capensisalbino.41/"
  ["_GET"] => array(5) {
    ["css"] => string(124) "public:attachments.less,public:editor.less,public:lightbox.less,public:message.less,public:snog_flags.less,public:extra.less"
    ["s"] => string(1) "1"
    ["l"] => string(1) "2"
    ["d"] => string(10) "1530088722"
    ["k"] => string(40) "4fae8c492f124769f8683897afb84914b308840a"
  }
  ["_POST"] => array(0) {
  }
}

Code:
    Less_Exception_Compiler: error evaluating function `max` incompatible types index: 37532 src/vendor/oyejorge/less.php/lib/Less/Tree/Call.php:80

    Generated by: Nepoznat nalog 27.06.2018 u 09.39

Stack trace

#0 src/vendor/oyejorge/less.php/lib/Less/Tree/Expression.php(42): Less_Tree_Call->compile(Object(Less_Environment))
#1 src/vendor/oyejorge/less.php/lib/Less/Tree/Value.php(27): Less_Tree_Expression->compile(Object(Less_Environment))
#2 src/vendor/oyejorge/less.php/lib/Less/Tree/Rule.php(75): Less_Tree_Value->compile(Object(Less_Environment))
#3 src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Rule->compile(Object(Less_Environment))
#4 src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Ruleset->compile(Object(Less_Environment))
#5 src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Ruleset->compile(Object(Less_Environment))
#6 src/vendor/oyejorge/less.php/lib/Less/Parser.php(199): Less_Tree_Ruleset->compile(Object(Less_Environment))
#7 src/XF/CssRenderer.php(363): Less_Parser->getCss()
#8 src/XF/CssRenderer.php(311): XF\CssRenderer->renderToCss('public:message....', '// Note that th...')
#9 src/XF/CssRenderer.php(235): XF\CssRenderer->renderTemplate('public:message....', NULL)
#10 src/XF/CssRenderer.php(101): XF\CssRenderer->renderTemplates(Array, Array, Array)
#11 src/XF/CssWriter.php(53): XF\CssRenderer->render(Array)
#12 css.php(30): XF\CssWriter->run(Array, 1, 2, '4fae8c492f12476...')
#13 {main}

Request state

array(4) {
  ["url"] => string(223) "/css.php?css=public%3Aattachments.less%2Cpublic%3Aeditor.less%2Cpublic%3Alightbox.less%2Cpublic%3Amessage.less%2Cpublic%3Asnog_flags.less%2Cpublic%3Aextra.less&s=1&l=2&d=1530088722&k=4fae8c492f124769f8683897afb84914b308840a"
  ["referrer"] => string(58) "https://forumodnauke.ru/threads/drosera-capensisalbino.41/"
  ["_GET"] => array(5) {
    ["css"] => string(124) "public:attachments.less,public:editor.less,public:lightbox.less,public:message.less,public:snog_flags.less,public:extra.less"
    ["s"] => string(1) "1"
    ["l"] => string(1) "2"
    ["d"] => string(10) "1530088722"
    ["k"] => string(40) "4fae8c492f124769f8683897afb84914b308840a"
  }
  ["_POST"] => array(0) {
  }
}
 
Code:
    Less_Exception_Chunk: ParseError: Unexpected input in anonymous-file-2719.less on line 1740, column 3 1738| position: absolute; 1739| top: -1px; 1740| left: -1px; 1741| 1742| border: 7px solid transparent; 1743| border-left-color: rgb(127, 185, 0); src/vendor/oyejorge/less.php/lib/Less/Parser.php:677

    Generated by: Nepoznat nalog 27.06.2018 u 09.44

Stack trace

#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:message....', '// Note that th...')
#4 src/XF/CssRenderer.php(235): XF\CssRenderer->renderTemplate('public:message....', 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, 1, 2, '4fae8c492f12476...')
#8 {main}

Request state

array(4) {
  ["url"] => string(223) "/css.php?css=public%3Aattachments.less%2Cpublic%3Aeditor.less%2Cpublic%3Alightbox.less%2Cpublic%3Amessage.less%2Cpublic%3Asnog_flags.less%2Cpublic%3Aextra.less&s=1&l=2&d=1530089069&k=4fae8c492f124769f8683897afb84914b308840a"
  ["referrer"] => string(58) "https://forumodnauke.ru/threads/drosera-capensisalbino.41/"
  ["_GET"] => array(5) {
    ["css"] => string(124) "public:attachments.less,public:editor.less,public:lightbox.less,public:message.less,public:snog_flags.less,public:extra.less"
    ["s"] => string(1) "1"
    ["l"] => string(1) "2"
    ["d"] => string(10) "1530089069"
    ["k"] => string(40) "4fae8c492f124769f8683897afb84914b308840a"
  }
  ["_POST"] => array(0) {
  }
}
 
Back
Top Bottom