XF 2.0 ErrorException: Template error: Cannot call method isMemberOf on a non-object (NULL) src/XF/Template/Templater.php:927

HiddeNKinG

Active member
Code:
ErrorException: Template error: Cannot call method isMemberOf on a non-object (NULL) src/XF/Template/Templater.php:927

Code:
Yığın izleme
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Cannot call met...', '/var/www/vhosts...', 927, Array)
#1 src/XF/Template/Templater.php(927): trigger_error('Cannot call met...', 512)
#2 internal_data/code_cache/templates/l1/s1/public/post_macros.php(126): XF\Template\Templater->method(NULL, 'isMemberOf', Array)
#3 src/XF/Template/Templater.php(663): XF\Template\Templater->{closure}(Object(XenGenTr\XGTForumistatistik\XF\Template\Templater), Array, Array)
#4 internal_data/code_cache/templates/l1/s1/public/thread_view.php(615): XF\Template\Templater->callMacro('post_macros', 'post', Array, Array)
#5 src/XF/Template/Templater.php(1250): XF\Template\Templater->{closure}(Object(XenGenTr\XGTForumistatistik\XF\Template\Templater), Array)
#6 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#7 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#8 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#9 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#11 src/XF/App.php(1934): XF\Mvc\Dispatcher->run()
#12 src/XF.php(333): XF\App->run()
#13 index.php(13): XF::runApp('XF\\Pub\\App')
#14 {main}


Code:
Durum isteği
array(4) {
  ["url"] => string(18) "/konu/kayit.14432/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

When a user has typed a post as a guest and someone is visited that thread. Giving this error on admin panel
What can i do? please help me?

196643
 
In the first instance I’d be looking at trying this with all add-ons disabled and on a totally default XF default style.

It’s likely that some sort of customisation isn’t checking if a variable exists as expected and that therefore is causing the error to display.
 
Back
Top Bottom