• This area is dedicated to the support of our xF1 add-ons. For xF2, please use the dedicated area: HERE.

Bug likes problem?

MattiGB

Member
Joined
Apr 2, 2016
Messages
112
I get that error in console:

Code:
[LIST]
[*]InvalidArgumentException: Accessed unknown getter 'like_count' on XF:User[33519]
 
[*]src/XF/Mvc/Entity/Entity.php:194
[/LIST]
Code:
#0 src/XF/Mvc/Entity/Entity.php(106): XF\Mvc\Entity\Entity->get('like_count')
#1 internal_data/code_cache/templates/l1/s30/public/xfa_tourn_tournament_participants.php(116): XF\Mvc\Entity\Entity->offsetGet('like_count')
#2 src/XF/Template/Templater.php(1294): XF\Template\Templater->{closure}(Object(ThemeHouse\XPress\XF\Template\Templater), Array)
#3 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('xfa_tourn_tourn...', Array)
#4 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#5 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Html->renderView('', 'public:xfa_tour...', Array)
#6 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#7 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#8 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#9 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#10 src/XF.php(390): XF\App->run()
#11 index.php(20): XF::runApp('XF\\Pub\\App')
#12 {main}

Code:
array(4) {
  ["url"] => string(64) "/tournaments/cracow-game-days-4-tura-eliminacji.101/participants"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
3,772
If you are using xF2.1 it's normal, tournament is not yet compatible.