Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
- 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: 22274 in public:app.less (on or near line 1)
- src/XF/CssRenderException.php:89
- Generated by: Unknown account
- Jan 30, 2025 at 9:09 PM
Stack trace
*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, 13, 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: 22274 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, 13, 1, '6e3aa946c2cfc33...')
#11 {main}
Nope. Nothing. It only happens in Core, not in the default XF skin.
Hello,
Does this also apply to the evolve theme?
I get this same error and I don't have debug mode enabled. @Russ I had this same issue with another style I was using from a competitor. To solve the issue I had to delete my current style and import the style again. Then I had to reapply all my custom settings. Was a pain in the a** but the errors went away. Would be nice not to have to do that with your style!
Itworx4me
Any issues with 2.3.6 @Russ ? Running Bolt here