Not a bug Error rendering widget: Call to a member function isIgnored() on int

Nirjonadda

Well-known member
Affected version
2.2.2
Server error log:

Code:
Error: Error rendering widget: Call to a member function isIgnored() on int src/addons/XFES/Widget/SimilarThreads.php:113

Generated by: Unknown account Aug 27, 2022 at 8:49 PM

Stack trace

#0 src/addons/SV/ElasticSearchEssentials/XFES/Widget/SimilarThreads.php(30): XFES\Widget\SimilarThreads->render()
#1 internal_data/code_cache/widgets/_75_xfes_thread_view_below_quick_reply_similar_threads.php(5): SV\ElasticSearchEssentials\XFES\Widget\SimilarThreads->render()
#2 src/XF/Template/Templater.php(7653): XF\SubContainer\Widget->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, Array)
#3 src/XF/SubContainer/Widget.php(168): XF\Template\Templater->renderWidgetClosure(Object(Closure), Array)
#4 src/XF/Template/Templater.php(1936): XF\SubContainer\Widget->getCompiledWidget(Array, Array)
#5 internal_data/code_cache/templates/l1/s6/public/thread_view.php(1258): XF\Template\Templater->widgetPosition('thread_view_bel...', Array)
#6 src/XF/Template/Templater.php(1651): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, Object(XF\Template\ExtensionSet))
#7 src/addons/MaZ/AMP/XF/Template/XF22/Templater.php(52): XF\Template\Templater->renderTemplate('thread_view', Array, true, NULL)
#8 src/XF/Template/Template.php(24): MaZ\AMP\XF\Template\XF22\Templater->renderTemplate('public:thread_v...', Array)
#9 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#10 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#11 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#12 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#13 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#14 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
#15 src/XF.php(524): XF\App->run()
#16 index.php(20): XF::runApp('XF\\Pub\\App')
#17 {main}

Request state

array(4) {
  ["url"] => string(15) "/threads/90005/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
ElasticSearchEssentials is just calling the parent after shimming in a permission check, and isn't touching the data being shovelled around.
 
Are you still experiencing this? It's difficult to see how this would happen as it implies the threads being returned from the finder are actually an array of integers.
 
Closing this bug report since we haven't heard back and are unable to reproduce the issue, but feel free to open a new one if you can reproduce this again on a default style with all other add-ons disabled.
 
Back
Top Bottom