XF 2.0 Templates error

macara

Active member
Hi, yesterday I got these errors, I didn’t update to 2.0.8 or 2.0.9 yet. So if this is related to it or not.

[internal function]: XF\Template\Templater->handleTemplateError(512, 'Method canViewM...', '/home/macarabi/...', 935, Array) #1 src/XF/Template/Templater.php(935): trigger_error('Method canViewM...', 512) #2 internal_data/code_cache/navigation_cache.php(291): XF\Template\Templater->method(Object(XF\Entity\User), 'canViewMedia', Array) #3 src/XF/Template/Templater.php(5746): XF\Pub\App->{closure}(Object(XF\Template\Templater), 'members', Array) #4 src/XF/Pub/App.php(462): XF\Template\Templater->renderNavigationClosure(Object(Closure), 'members', Array) #5 src/XF/Pub/App.php(415): XF\Pub\App->getNavigation(Array, 'members') #6 src/XF/App.php(1766): XF\Pub\App->renderPageHtml('\n\n\n\n\n\n<div clas...', Array, Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html)) #7 src/XF/Mvc/Dispatcher.php(310): XF\App->renderPage('\n\n\n\n\n\n<div clas...', Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html)) #8 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html') #9 src/XF/App.php(1931): XF\Mvc\Dispatcher->run() #10 src/XF.php(328): XF\App->run() #11 index.php(13): XF::runApp('XF\\Pub\\App') #12 {main}

Code:
0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Function uix_ex...', '/home/macarabi/...', 859, Array)
#1 src/XF/Template/Templater.php(859): trigger_error('Function uix_ex...', 512)
#2 internal_data/code_cache/templates/l8/s34/public/helper_js_global.php(33): XF\Template\Templater->fn('uix_extra_css_u...', Array, false)
#3 src/XF/Template/Templater.php(662): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Array)
#4 internal_data/code_cache/templates/l8/s34/public/PAGE_CONTAINER.php(2388): XF\Template\Templater->callMacro('helper_js_globa...', 'head', Array, Array)
#5 src/XF/Template/Templater.php(1249): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array)
#6 src/XF/Pub/App.php(449): XF\Template\Templater->renderTemplate('public:PAGE_CON...', Array)
#7 src/XF/App.php(1766): XF\Pub\App->renderPageHtml('\n\n\n\n\n\n<div clas...', 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\n\n<div clas...', 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(1931): XF\Mvc\Dispatcher->run()
#11 src/XF.php(328): XF\App->run()
#12 index.php(13): XF::runApp('XF\\Pub\\App')
#13 {main}

Code:
0 src/XF/Template/Templater.php(2007): XF\Template\Templater->handleTemplateError(4096, 'Argument 3 pass...', '/home/macarabi/...', 2007, Array)
#1 [internal function]: XF\Template\Templater->fnCssUrl(Object(XF\Template\Templater), true, '')
#2 src/XF/Template/Templater.php(880): call_user_func_array(Array, Array)
#3 internal_data/code_cache/templates/l8/s34/public/helper_js_global.php(39): XF\Template\Templater->fn('css_url', Array, true)
#4 src/XF/Template/Templater.php(662): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Array)
#5 internal_data/code_cache/templates/l8/s34/public/PAGE_CONTAINER.php(2388): XF\Template\Templater->callMacro('helper_js_globa...', 'head', Array, Array)
#6 src/XF/Template/Templater.php(1249): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array)
#7 src/XF/Pub/App.php(449): XF\Template\Templater->renderTemplate('public:PAGE_CON...', Array)
#8 src/XF/App.php(1766): XF\Pub\App->renderPageHtml('\n\n\n\n\n\n<div clas...', Array, Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#9 src/XF/Mvc/Dispatcher.php(310): XF\App->renderPage('\n\n\n\n\n\n<div clas...', Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#10 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#11 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#12 src/XF.php(328): XF\App->run()
#13 index.php(13): XF::runApp('XF\\Pub\\App')
#14 {main}

any idea ?
 

Attachments

  • 4B52C30D-1250-41B5-8258-89C1195064A3.webp
    4B52C30D-1250-41B5-8258-89C1195064A3.webp
    81.2 KB · Views: 6
Back
Top Bottom