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
No issues. "message_macros" shows outdated but there were no changes in the template at all. Not sure what happened there. You can just click "SAVE AND EXIT on the parent level to get rid of the message (or merge it). It did it on the default style too (I modify the default style with all of our templates to check for changes and nothing changed).
I'm talking to XF about a potential bug in 2.3.6 but I'll be releasing an update shortly to address a few minor things.
Anything serious on this 'bug'? I'm in no rush to upgrade but have some time over the weekend.
Hi, Russ. Any update on the time frame for releasing this?I'm talking to XF about a potential bug in 2.3.6 but I'll be releasing an update shortly to address a few minor things.
It may have been a Chrome bug as it's not happening anymore. You can use 2.3.4 on 2.3.6 with no outdated templates. My original planned update got pushed back a bit but you're good to go with the 2.3.4. Sorry for the delay.Hi, Russ. Any update on the time frame for releasing this?
I've been waiting to upgrade my XenForo from 2.3.4 to 2.3.6 because I usually wait for the Pixel Exit theme to match before upgrading.
Thanks, I appreciate you!