Why am i having this error on my forum
Server error log
- TypeError: Template public:forum_view error: Argument 1 passed to XF\Repository\UserFollow::findFollowersForProfile() must be an instance of XF\Entity\User, null given, called in /home/u774975481/domains/platxy.com/public_html/src/addons/PN/FFW/Widget/Followers.php on line 34
- src/XF/Repository/UserFollow.php:27
- Generated by: xy
- Jun 1, 2021 at 1:51 AM
Stack trace
#0 src/addons/PN/FFW/Widget/Followers.php(34): XF\Repository\UserFollow->findFollowersForProfile(NULL)
#1 internal_data/code_cache/widgets/_45_followers.php(5): PN\FFW\Widget\Followers->render()
#2 src/XF/Template/Templater.php(7472): XF\SubContainer\Widget->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, Array)
#3 src/XF/SubContainer/Widget.php(168): XF\Template\Templater->renderWidgetClosure(Object(Closure), Array)
#4 src/XF/Template/Templater.php(1903): XF\SubContainer\Widget->getCompiledWidget(Array, Array)
#5 internal_data/code_cache/templates/l1/s1/public/forum_view.php(661): XF\Template\Templater->widgetPosition('forum_view_side...', Array)
#6 src/XF/Template/Templater.php(1628): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#7 src/XF/Template/Templater.php(1619): XF\Template\Templater->renderTemplate('forum_view', Array, true, Object(XF\Template\ExtensionSet))
#8 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('forum_view_type...', Array)
#9 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#10 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('XF:Forum\\ViewTy...', 'public:forum_vi...', Array)
#11 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#12 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#13 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#14 src/XF/App.php(2337): XF\Mvc\Dispatcher->run()
#15 src/XF.php(488): XF\App->run()
#16 index.php(20): XF::runApp('XF\\Pub\\App')
#17 {main}
Request state
array(4) {
["url"] => string(37) "/index.php?forums/auto-complaints.74/"
["referrer"] => string(36) "
https://platxy.com/index.php?forums/"
["_GET"] => array(1) {
["forums/auto-complaints_74/"] => string(0) ""
}
["_POST"] => array(0) {
}
}
https://platxy.com/admin.php?logs/server-errors/320/delete