XF 2.2 I been getting this error and don’t know how to resolve it

Austinrex

Member
Code:
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(157): XF\Entity\Thread->getCoverImage()
#1 src/XF/Mvc/Entity/Entity.php(115): XF\Mvc\Entity\Entity->get('cover_image')
#2 internal_data/code_cache/templates/l1/s1/public/thread_list_macros.php(22): XF\Mvc\Entity\Entity->offsetGet('cover_image')
#3 src/XF/Template/Templater.php(962): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#4 src/XF/Template/Templater.php(898): XF\Template\Templater->renderExtensionInternal('icon_cell', Array, Array, Object(XF\Template\ExtensionSet))
#5 internal_data/code_cache/templates/l1/s1/public/thread_list_macros.php(509): XF\Template\Templater->renderExtension('icon_cell', Array, Object(XF\Template\ExtensionSet))
#6 src/XF/Template/Templater.php(799): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#7 internal_data/code_cache/templates/l1/s1/public/forum_view.php(121): XF\Template\Templater->callMacro('thread_list_mac...', 'item', Array, Array)
#8 src/XF/Template/Templater.php(962): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#9 src/XF/Template/Templater.php(898): XF\Template\Templater->renderExtensionInternal('thread_list', Array, Array, Object(XF\Template\ExtensionSet))
#10 internal_data/code_cache/templates/l1/s1/public/forum_view.php(561): XF\Template\Templater->renderExtension('thread_list', Array, Object(XF\Template\ExtensionSet))
#11 src/XF/Template/Templater.php(1626): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#12 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('forum_view', Array)
#13 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#14 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('XF:Forum\\View', 'public:forum_vi...', Array)
#15 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#16 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#17 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#18 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
#19 src/XF.php(488): XF\App->run()
#20 index.php(20): XF::runApp('XF\\Pub\\App')
#21 {main}
 

djbaxter

Well-known member
Have you added a new style, edited your style, or changed the thread icons recently?

Or installed a new addon which might have affected these?

Have you updated to the latest version of @Xon's standard library or any of @Xon's addons which require the Standard Library?
 

Xon

Well-known member
None of my add-ons would affect that code-path. But this is the result of 3rd party code.

Something is extending how post attachments list works and is incorrectly returning null instead of an empty ArrayCollection
 
Top