[FIXED] Reported posts that are deleted

Kyros

New Member
If a reported news feed post from a Group is deleted, it is unable to be access through reports. Would like to clear these reports out but can't because visiting the report just shows a blank space. Please help!

1587063185913.webp
 

Kyros

New Member
More info:

Error Console

Server error log
  • InvalidArgumentException: Template public:report_view error: Expect AbstractCollection argument but got: NULL
  • src/addons/Truonglv/Groups/Repository/Comment.php:131
  • Generated by: anamanaguchi
  • Apr 16, 2020 at 11:49 AM
Stack trace
#0 src/addons/Truonglv/Groups/Report/Comment.php(98): Truonglv\Groups\Repository\Comment->addContentIntoComments(NULL)
#1 src/XF/Entity/Report.php(113): Truonglv\Groups\Report\Comment->getContent(1016)
#2 src/XF/Mvc/Entity/Entity.php(148): XF\Entity\Report->getContent()
#3 src/XF/Mvc/Entity/Entity.php(101): XF\Mvc\Entity\Entity->get('Content')
#4 src/XF/Report/AbstractHandler.php(77): XF\Mvc\Entity\Entity->__get('Content')
#5 src/XF/Report/AbstractHandler.php(88): XF\Report\AbstractHandler->getTemplateData(Object(XF\Entity\Report))
#6 [internal function]: XF\Report\AbstractHandler->render(Object(XF\Entity\Report))
#7 src/XF/Template/Templater.php(999): call_user_func_array(Array, Array)
#8 internal_data/code_cache/templates/l1/s26/public/report_view.php(48): XF\Template\Templater->method(Object(Truonglv\Groups\Report\Comment), 'render', Array)
#9 src/XF/Template/Templater.php(1315): XF\Template\Templater->{closure}(Object(SV\BookmarkEssentials\XF\Template\Templater), Array)
#10 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('report_view', Array)
#11 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#12 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('XF:Report\\View', 'public:report_v...', Array)
#13 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#14 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#15 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#16 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#17 src/XF.php(391): XF\App->run()
#18 index.php(20): XF::runApp('XF\\Pub\\App')
#19 {main}
 
Top