AbuGhaith
Well-known member
- Affected version
- 2.2
I don't know if is a bug or related with an add-on
I get this error when a guest post a thread
Server error log
thank you
I get this error when a guest post a thread
Server error log
Code:
ErrorException: Template error: Cannot call method getUserTitles on a non-object (NULL) src/XF/Template/Templater.php:1150
Stack trace
Code:
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Cannot call met...', '/home/xenarabia...', 1150, Array)
#1 src/XF/Template/Templater.php(1150): trigger_error('Cannot call met...', 512)
#2 internal_data/code_cache/templates/l2/s7/public/message_macros.php(143): XF\Template\Templater->method(NULL, 'getUserTitles', Array)
#3 src/XF/Template/Templater.php(798): XF\Template\Templater->{closure}(Object(xenarabia\SitesFriendly\XF\Template\Templater), Array, NULL)
#4 internal_data/code_cache/templates/l2/s7/public/post_macros.php(25): XF\Template\Templater->callMacro('message_macros', 'user_info', Array, Array)
#5 src/XF/Template/Templater.php(961): XF\Template\Templater->{closure}(Object(xenarabia\SitesFriendly\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#6 src/XF/Template/Templater.php(897): XF\Template\Templater->renderExtensionInternal('user_cell', Array, Array, Object(XF\Template\ExtensionSet))
#7 internal_data/code_cache/templates/l2/s7/public/post_macros.php(153): XF\Template\Templater->renderExtension('user_cell', Array, Object(XF\Template\ExtensionSet))
#8 src/XF/Template/Templater.php(961): XF\Template\Templater->{closure}(Object(xenarabia\SitesFriendly\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#9 src/XF/Template/Templater.php(897): XF\Template\Templater->renderExtensionInternal('full_body', Array, Array, Object(XF\Template\ExtensionSet))
#10 internal_data/code_cache/templates/l2/s7/public/post_macros.php(188): XF\Template\Templater->renderExtension('full_body', Array, Object(XF\Template\ExtensionSet))
#11 src/XF/Template/Templater.php(798): XF\Template\Templater->{closure}(Object(xenarabia\SitesFriendly\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#12 internal_data/code_cache/templates/l2/s7/public/thread_view.php(817): XF\Template\Templater->callMacro('post_macros', 'post', Array, Array)
#13 src/XF/Template/Templater.php(1598): XF\Template\Templater->{closure}(Object(xenarabia\SitesFriendly\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(48): XF\Template\Template->render()
#16 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#17 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#18 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#19 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#20 src/XF/App.php(2299): XF\Mvc\Dispatcher->run()
#21 src/XF.php(464): XF\App->run()
#22 index.php(20): XF::runApp('XF\\Pub\\App')
#23 {main}
thank you