ErrorException: Template error: [E_WARNING] Invalid argument supplied for foreach() src/addons/XenConcept/PrefixForumListing/Repository/PrefixForumListing.php:31
Трассировка стека
#0 src/addons/XenConcept/PrefixForumListing/Repository/PrefixForumListing.php(31): XF\Template\Templater->handleTemplateError(2, '[E_WARNING] Inv...', '/var/www/www-ro...', 31, Array)
#1 src/addons/XenConcept/PrefixForumListing/Widget/PrefixForumListing.php(40): XenConcept\PrefixForumListing\Repository\PrefixForumListing->mergeThreadsAndStickyThreads(Object(XF\Mvc\Entity\ArrayCollection), NULL)
#2 internal_data/code_cache/widgets/_29_xc_prefix_forum_listing.php(5): XenConcept\PrefixForumListing\Widget\PrefixForumListing->render()
#3 src/XF/Template/Templater.php(7498): XF\SubContainer\Widget->{closure}(Object(xenMade\LAU\XF\Template\Templater), Array, Array)
#4 src/XF/SubContainer/Widget.php(168): XF\Template\Templater->renderWidgetClosure(Object(Closure), Array)
#5 src/XF/Template/Templater.php(1948): XF\SubContainer\Widget->getCompiledWidget(Array, Array)
#6 internal_data/code_cache/templates/l2/s1/public/forum_view.php(442): XF\Template\Templater->renderWidget('xc_prefix_forum...', Array, Array)
#7 src/XF/Template/Templater.php(1644): XF\Template\Templater->{closure}(Object(xenMade\LAU\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#8 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('forum_view', 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\\View', '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(2344): XF\Mvc\Dispatcher->run()
#15 src/XF.php(512): XF\App->run()
#16 index.php(20): XF::runApp('XF\\Pub\\App')
#17 {main}