XF 2.3 Skin issues with 2.3.5

Jaxel

Well-known member
Since upgrading to 2.3.5, I am getting this error on one of my skins:
  • XF\CssRenderException: Error rendering template public:app.less: error evaluating function clamp [E_NOTICE] Object of class Less_Tree_Dimension could not be converted to int index: 22194 in public:app.less (on or near line 1)
  • src/XF/CssRenderException.php:89
Code:
*1*| // Note that this file should never output any CSS directly. It should contain variables and mixins only.
 2 | // Output should go into core.less.
 3 |
 4 | // ################################ VARIABLES ###############################
------------

#0 src/XF/CssRenderer.php(435): XF\CssRenderException::createFromLessException(Object(Less_Exception_Compiler), 'public:app.less', '// Note that th...')
#1 src/XF/CssRenderer.php(371): XF\CssRenderer->renderToCss('public:app.less', '// Note that th...')
#2 src/XF/CssRenderer.php(279): XF\CssRenderer->renderTemplate('public:app.less', NULL)
#3 src/XF/CssRenderer.php(135): XF\CssRenderer->renderTemplates(Array, Array, Array)
#4 src/XF/CssWriter.php(60): XF\CssRenderer->render(Array)
#5 css.php(32): XF\CssWriter->run(Array, 5, 1, '6e3aa946c2cfc33...')
#6 {main}

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

Previous Less_Exception_Compiler: error evaluating function `clamp` [E_NOTICE] Object of class Less_Tree_Dimension could not be converted to int index: 22194 in anonymous-file-0.less - src/vendor/oyejorge/less.php/lib/Less/Tree/Mixin/Call.php:130
#0 src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(147): Less_Tree_Mixin_Call->compile(Object(Less_Environment))
#1 src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(90): Less_Tree_Ruleset->EvalMixinCalls(Object(Less_Tree_Ruleset), Object(Less_Environment), 1)
#2 src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(95): Less_Tree_Ruleset->compile(Object(Less_Environment))
#3 src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(95): Less_Tree_Ruleset->compile(Object(Less_Environment))
#4 src/vendor/oyejorge/less.php/lib/Less/Parser.php(181): Less_Tree_Ruleset->compile(Object(Less_Environment))
#5 src/XF/CssRenderer.php(431): Less_Parser->getCss()
#6 src/XF/CssRenderer.php(371): XF\CssRenderer->renderToCss('public:app.less', '// Note that th...')
#7 src/XF/CssRenderer.php(279): XF\CssRenderer->renderTemplate('public:app.less', NULL)
#8 src/XF/CssRenderer.php(135): XF\CssRenderer->renderTemplates(Array, Array, Array)
#9 src/XF/CssWriter.php(60): XF\CssRenderer->render(Array)
#10 css.php(32): XF\CssWriter->run(Array, 5, 1, '6e3aa946c2cfc33...')
#11 {main}

Code:
array(4) {
  ["url"] => string(185) "/css.php?css=public%3Anormalize.css%2Cpublic%3Afa.css%2Cpublic%3Avariations.less%2Cpublic%3Acore.less%2Cpublic%3Aapp.less&s=5&l=1&d=1738288834&k=6e3aa946c2cfc33e4c3b42869055271471e529c6"
  ["referrer"] => string(20) "https://8wayrun.com/"
  ["_GET"] => array(5) {
    ["css"] => string(90) "public:normalize.css,public:fa.css,public:variations.less,public:core.less,public:app.less"
    ["s"] => string(1) "5"
    ["l"] => string(1) "1"
    ["d"] => string(10) "1738288834"
    ["k"] => string(40) "6e3aa946c2cfc33e4c3b42869055271471e529c6"
  }
  ["_POST"] => array(0) {
  }
}

I have no idea where to even start to figure out this error.
 
Back
Top Bottom