XF 2.1 'first_post_likes' on XF:Thread

trice

Member
Hello togheter,

my english is noch so good, but, i have update my forum to the Beta 2 Version 2.1.0 Beta (unsupported i know)

My problem is:
  • InvalidArgumentException: Accessed unknown getter 'first_post_likes' on XF:Thread[358] src/XF/Mvc/Entity/Entity.php:188


Stack-Trace

#0 src/XF/Mvc/Entity/Entity.php(106): XF\Mvc\Entity\Entity->get('first_post_like...')
#1 internal_data/code_cache/templates/l2/s6/public/XenistatistikEnCokGrnKonular.php(149): XF\Mvc\Entity\Entity->offsetGet('first_post_like...')
#2 src/XF/Template/Templater.php(1293): XF\Template\Templater->{closure}(Object(BlackTea\SteamAuth\XF\Template\Templater), Array)
#3 src/XF/Widget/WidgetRenderer.php(62): XF\Template\Templater->renderTemplate('public:Xenistat...', Array)
#4 src/XF/Widget/WidgetRenderer.php(67): XF\Widget\WidgetRenderer->render()
#5 internal_data/code_cache/templates/l2/s6/public/XenistatistikBlok.php(82): XF\Widget\WidgetRenderer->__toString()
#6 src/XF/Template/Templater.php(1293): XF\Template\Templater->{closure}(Object(BlackTea\SteamAuth\XF\Template\Templater), Array)
#7 src/XF/Template/Templater.php(1366): XF\Template\Templater->renderTemplate('public:Xenistat...', Array)
#8 internal_data/code_cache/templates/l2/s6/public/forum_list.php(218): XF\Template\Templater->includeTemplate('XenistatistikBl...', Array)
#9 src/XF/Template/Templater.php(1293): XF\Template\Templater->{closure}(Object(BlackTea\SteamAuth\XF\Template\Templater), Array)
#10 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('public:forum_li...', Array)
#11 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#12 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Html->renderView('XF:Forum\\Listin...', 'public:forum_li...', Array)
#13 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#14 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#15 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#16 src/XF/App.php(2155): XF\Mvc\Dispatcher->run()
#17 src/XF.php(389): XF\App->run()
#18 index.php(20): XF::runApp('XF\\Pub\\App')
#19 {main}

Status der Anfrage

array(4) {
["url"] => string(18) "/index.php?forums/"
["referrer"] => string(36) "https://noobs.club/index.php?forums/"
["_GET"] => array(1) {
["forums/"] => string(0) ""
}
["_POST"] => array(0) {
}
}


What can i do to fix that?

Many thanks for help!
 
It seems to be a widget that you have named XenistatistikBlok. If this is your own widget, the code/template will need to be updated to replace first_post_likes with first_post_reaction_score.

If this is a widget that comes with or as an add-on then you should report it to the author as they will need to make changes to support XF 2.1.
 
It seems to be a widget that you have named XenistatistikBlok. If this is your own widget, the code/template will need to be updated to replace first_post_likes with first_post_reaction_score.

If this is a widget that comes with or as an add-on then you should report it to the author as they will need to make changes to support XF 2.1.
In XF 2.0, the database has the "first_post_likes" field, in XF 2.1 it is changed to "first_post_reaction_score" because of this import does not work on XF 2.1, can I just rename this field without consequences (in the site backup)?
 
Back
Top Bottom