Itworx4me
Well-known member
I get this error after upgrading from 2.2.17 to 2.3.4. Error happens about every 6 minutes or so.
Has anyone encounter this error and what was causing it?
Thanks,
Itworx4me
Code:
ArgumentCountError: Too few arguments to function Less_Functions::hsl(), 1 passed in /home/nginx/domains/nitromater.com/public/src/vendor/oyejorge/less.php/lib/Less/Tree/Call.php on line 76 and exactly 3 expected src/vendor/oyejorge/less.php/lib/Less/Functions.php:84
Generated by: Unknown account Jan 28, 2025 at 7:08 AM
Stack trace
#0 src/vendor/oyejorge/less.php/lib/Less/Tree/Call.php(76): Less_Functions->hsl(Object(Less_Tree_Call))
#1 src/vendor/oyejorge/less.php/lib/Less/Tree/Expression.php(36): Less_Tree_Call->compile(Object(Less_Environment))
#2 src/vendor/oyejorge/less.php/lib/Less/Tree/Value.php(25): Less_Tree_Expression->compile(Object(Less_Environment))
#3 src/vendor/oyejorge/less.php/lib/Less/Tree/Rule.php(76): Less_Tree_Value->compile(Object(Less_Environment))
#4 src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(95): Less_Tree_Rule->compile(Object(Less_Environment))
#5 src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(95): Less_Tree_Ruleset->compile(Object(Less_Environment))
#6 src/vendor/oyejorge/less.php/lib/Less/Parser.php(181): Less_Tree_Ruleset->compile(Object(Less_Environment))
#7 src/XF/CssRenderer.php(431): Less_Parser->getCss()
#8 src/XF/CssRenderer.php(371): XF\CssRenderer->renderToCss('public:extra.le...', '// Note that th...')
#9 src/XF/CssRenderer.php(279): XF\CssRenderer->renderTemplate('public:extra.le...', NULL)
#10 src/XF/CssRenderer.php(135): XF\CssRenderer->renderTemplates(Array, Array, Array)
#11 src/XF/CssWriter.php(60): XF\CssRenderer->render(Array)
#12 src/addons/SV/RedisCache/XF/CssWriter.php(68): XF\CssWriter->run(Array, 21, 1, '6e3d3362df87bb4...')
#13 css.php(32): SV\RedisCache\XF\CssWriter->run(Array, 21, 1, '6e3d3362df87bb4...')
#14 {main}
Request state
array(4) {
["url"] => string(97) "/css.php?css=public%3Aextra.less&s=21&l=1&d=1738039475&k=6e3d3362df87bb45d4591b57ac6230970f23e687"
["referrer"] => string(74) "https://nitromater.com/threads/sunday-will-never-be-the-same.44918/page-17"
["_GET"] => array(5) {
["css"] => string(17) "public:extra.less"
["s"] => string(2) "21"
["l"] => string(1) "1"
["d"] => string(10) "1738039475"
["k"] => string(40) "6e3d3362df87bb45d4591b57ac6230970f23e687"
}
["_POST"] => array(0) {
}
}
Has anyone encounter this error and what was causing it?
Thanks,
Itworx4me