Not a bug Template error: Function parse_less_color is unknown

Affected version
XF2
I've seen other threads about this, but it was not resolved as the thread owner had some sort of copyright issues or something. There was also a response because it was using a function his version of Xenforo didn't have, but that was unclear. What I am getting is:

Code:
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Function parse_...', '/home/u29001027...', 840, Array)
#1 src/XF/Template/Templater.php(840): trigger_error('Function parse_...', 512)
#2 internal_data/code_cache/templates/l1/s3/public/PAGE_CONTAINER.php(368): XF\Template\Templater->fn('parse_less_colo...', Array, true)
#3 src/XF/Template/Templater.php(1230): XF\Template\Templater->{closure}(Object(SyTryC\SupportUsWidget\XF\Template\Templater), Array)
#4 src/XF/Pub/App.php(449): XF\Template\Templater->renderTemplate('PAGE_CONTAINER', Array)
#5 src/XF/App.php(1715): XF\Pub\App->renderPageHtml('\n\n\n\n\n\n\n\n\n\n\t\n\t\n\t...', Array, Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#6 src/XF/Mvc/Dispatcher.php(310): XF\App->renderPage('\n\n\n\n\n\n\n\n\n\n\t\n\t\n\t...', Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#7 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#8 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#9 src/XF.php(328): XF\App->run()
#10 index.php(13): XF::runApp('XF\\Pub\\App')
#11 {main}

And a request state of:

Code:
array(4) {
  ["url"] => string(17) "/forums/index.php"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

This happens quite often and has filled my server error logs.
 
You may be using a style which is a newer version than XF itself.

Try upgrading and it should be sorted.
 
Back
Top Bottom