XF 2.2 Anyone know what this error is?

eL_

Well-known member
Server error log
Code:
    ErrorException: Template error: [E_USER_WARNING] Method canViewDbtechCredits is not callable on the given object (XF\Entity\User) src/XF/Template/Templater.php:1186

    Generated by: Unknown account Nov 9, 2022 at 8:18 PM

Stack trace
Code:
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/home/weplaypro...', 1186)
#1 src/XF/Template/Templater.php(1186): trigger_error('Method canViewD...', 512)
#2 internal_data/code_cache/navigation_cache.php(548): XF\Template\Templater->method(Object(XF\Entity\User), 'canViewDbtechCr...', Array)
#3 src/XF/Template/Templater.php(7626): XF\Pub\App->{closure}(Object(XF\Template\Templater), 'forums', Array)
#4 src/XF/Pub/App.php(577): XF\Template\Templater->renderNavigationClosure(Object(Closure), 'forums', Array)
#5 src/XF/Pub/App.php(528): XF\Pub\App->getNavigation(Array, 'forums')
#6 src/XF/App.php(2151): XF\Pub\App->renderPageHtml('
   

<div class=...', Array, Object(XF\Mvc\Reply\Error), Object(XF\Mvc\Renderer\Html))
#7 src/XF/Mvc/Dispatcher.php(404): XF\App->renderPage('
   

<div class=...', Object(XF\Mvc\Reply\Error), Object(XF\Mvc\Renderer\Html))
#8 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\Error), 'html')
#9 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
#10 src/XF.php(524): XF\App->run()
#11 index.php(20): XF::runApp('XF\\Pub\\App')
#12 {main}

Request state
Code:
array(4) {
  ["url"] => string(47) "/threads/request-a-game-we-give-it-to-you-for-f"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Last edited:
Back
Top Bottom