Method getUserTitles is not callable on the given object error

saeedmo79

New Member
Hello all
May I know what is causing this error?

  • ErrorException: Template error: [E_USER_WARNING] Method getUserTitles is not callable on the given object (Truonglv\Groups\XF\Entity\User)
  • src/XF/Template/Templater.php:1186
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/home/#####...', 1186, Array)
#1 src/XF/Template/Templater.php(1186): trigger_error('Method getUserT...', 512)
#2 internal_data/code_cache/templates/l3/s76/public/message_macros.php(68): XF\Template\Templater->method(Object(Truonglv\Groups\XF\Entity\User), 'getUserTitles', Array)
#3 src/XF/Template/Templater.php(824): XF\Template\Templater->{closure}(Object(xenarabia\whispers\XF\Template\Templater), Array, NULL)
#4 internal_data/code_cache/templates/l3/s76/public/post_macros.php(25): XF\Template\Templater->callMacro('message_macros', 'user_info', Array, Array)
#5 src/XF/Template/Templater.php(987): XF\Template\Templater->{closure}(Object(xenarabia\whispers\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#6 src/XF/Template/Templater.php(923): XF\Template\Templater->renderExtensionInternal('user_cell', Array, Array, Object(XF\Template\ExtensionSet))
#7 internal_data/code_cache/templates/l3/s76/public/post_macros.php(149): XF\Template\Templater->renderExtension('user_cell', Array, Object(XF\Template\ExtensionSet))
#8 src/XF/Template/Templater.php(987): XF\Template\Templater->{closure}(Object(xenarabia\whispers\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#9 src/XF/Template/Templater.php(923): XF\Template\Templater->renderExtensionInternal('full_body', Array, Array, Object(XF\Template\ExtensionSet))
#10 internal_data/code_cache/templates/l3/s76/public/post_macros.php(193): XF\Template\Templater->renderExtension('full_body', Array, Object(XF\Template\ExtensionSet))
#11 src/XF/Template/Templater.php(824): XF\Template\Templater->{closure}(Object(xenarabia\whispers\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#12 internal_data/code_cache/templates/l3/s76/public/thread_view.php(1126): XF\Template\Templater->callMacro('post_macros', 'post', Array, Array)
#13 src/XF/Template/Templater.php(1651): XF\Template\Templater->{closure}(Object(xenarabia\whispers\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#14 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#15 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#16 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#17 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#18 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#19 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#20 src/XF/App.php(2352): XF\Mvc\Dispatcher->run()
#21 src/XF.php(524): XF\App->run()
#22 index.php(20): XF::runApp('XF\\Pub\\App')
#23 {main}


array(4) {
["url"] => string(15) "/threads/10811/"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
Last edited:

Truonglv

♥♥ √εgετα ♥♥
Staff member
Tech Support
I've search all files and the add-on does not use above method. It seems from your add-ons. Can you confirm?
 

saeedmo79

New Member
View previous replies…
Top