XF 2.0 TypeError: Argument 3 passed to XF\Template\Templater

Asser

Active member
Logs >

Server error logs

Code:
TypeError: Argument 3 passed to XF\Template\Templater::fnCssUrl() must be of the type array, string given src/XF/Template/Templater.php:2006

Stack Trace

Code:
#0 [internal function]: XF\Template\Templater->fnCssUrl(Object(XF\Template\Templater), true, '')
#1 src/XF/Template/Templater.php(879): call_user_func_array(Array, Array)
#2 internal_data/code_cache/templates/l1/s14/public/helper_js_global.php(39): XF\Template\Templater->fn('css_url', Array, true)
#3 src/XF/Template/Templater.php(661): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Array)
#4 internal_data/code_cache/templates/l1/s14/public/PAGE_CONTAINER.php(2297): XF\Template\Templater->callMacro('helper_js_globa...', 'head', Array, Array)
#5 src/XF/Template/Templater.php(1248): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array)
#6 src/XF/Pub/App.php(449): XF\Template\Templater->renderTemplate('PAGE_CONTAINER', Array)
#7 src/XF/App.php(1726): XF\Pub\App->renderPageHtml('\n\n\n\n\t\n\t\n\t\n\n\n\n\n\n...', Array, Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#8 src/XF/Mvc/Dispatcher.php(310): XF\App->renderPage('\n\n\n\n\t\n\t\n\t\n\n\n\n\n\n...', Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#9 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#10 src/XF/App.php(1891): XF\Mvc\Dispatcher->run()
#11 src/XF.php(328): XF\App->run()
#12 index.php(13): XF::runApp('XF\\Pub\\App')
#13 {main}

Request State

Code:
array(4) {
  ["url"] => string(26) "/forums/example/"
  ["referrer"] => string(21) "https://example.com"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Back
Top Bottom