XF 2.1 InvalidArgumentException: Accessed unknown getter 'first_post_likes'

Casa Ivar

Member
After upgrading to 2.1 this morning, getting these errors. Ideas?


Server error log
  • InvalidArgumentException: Accessed unknown getter 'first_post_likes' on XF:Thread[60039]
  • src/XF/Mvc/Entity/Entity.php:194
  • Generated by: Unknown account
  • Jan 31, 2019 at 2:44 PM
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(106): XF\Mvc\Entity\Entity->get('first_post_like...')
#1 internal_data/code_cache/templates/l1/s1/public/dl6_widget_threads_list_full_viewed.php(119): XF\Mvc\Entity\Entity->offsetGet('first_post_like...')
#2 src/XF/Template/Templater.php(1294): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array)
#3 src/XF/Template/Templater.php(1367): XF\Template\Templater->renderTemplate('dl6_widget_thre...', Array)
#4 internal_data/code_cache/templates/l1/s1/public/widget_dl6_most_viewed_threads.php(50): XF\Template\Templater->includeTemplate('public:dl6_widg...', Array)
#5 src/XF/Template/Templater.php(1294): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array)
#6 src/XF/Widget/WidgetRenderer.php(62): XF\Template\Templater->renderTemplate('widget_dl6_most...', Array)
#7 src/XF/Widget/WidgetRenderer.php(67): XF\Widget\WidgetRenderer->render()
#8 internal_data/code_cache/templates/l1/s1/public/_ads.php(64): XF\Widget\WidgetRenderer->__toString()
#9 src/XF/Template/Templater.php(694): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Array)
#10 src/XF/Template/Templater.php(637): XF\Template\Templater->callMacro('_ads', 'container_conte...', Array, Array)
#11 internal_data/code_cache/templates/l1/s1/public/PAGE_CONTAINER.php(1099): XF\Template\Templater->callAdsMacro('container_conte...', Array, Array)
#12 src/XF/Template/Templater.php(1294): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array)
#13 src/XF/Pub/App.php(547): XF\Template\Templater->renderTemplate('PAGE_CONTAINER', Array)
#14 src/XF/App.php(1988): XF\Pub\App->renderPageHtml('







<div cl...', Array, Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#15 src/XF/Mvc/Dispatcher.php(362): XF\App->renderPage('
 
You appear to have a template or add-on that isn't up to date with 2.1, as it's accessing likes on a thread rather than reactions. The template is dl6_widget_threads_list_full_viewed. "dl6" points to it being related to an add-on, so you should contact that author for an update.
 
Back
Top Bottom