XF 2.1 Problems with reactions.

Niro

Active member
Hi,

Since I upgraded to XF 2.1.0, I am getting this error :

Code:
[LIST]
[*]InvalidArgumentException: Accessed unknown getter 'like_count' on XF:User[1]
[*]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/l4/s32/public/account_visitor_menu.php(49): XF\Mvc\Entity\Entity->offsetGet('like_count')
#2 src/XF/Template/Templater.php(694): XF\Template\Templater->{closure}(Object(Iconify\Iconify\Template\Templater), Array, Array)
#3 internal_data/code_cache/templates/l4/s32/public/account_visitor_menu.php(79): XF\Template\Templater->callMacro('account_visitor...', 'visitor_panel_r...', Array, Array)
#4 src/XF/Template/Templater.php(1294): XF\Template\Templater->{closure}(Object(Iconify\Iconify\Template\Templater), Array)
#5 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('account_visitor...', Array)
#6 src/XF/Mvc/Renderer/Json.php(84): XF\Template\Template->render()
#7 src/XF/Mvc/Renderer/Json.php(68): XF\Mvc\Renderer\Json->renderHtmlFallback('XF:Account\\Visi...', 'public:account_...', Array)
#8 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Json->renderView('XF:Account\\Visi...', 'public:account_...', Array)
#9 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#11 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#12 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#13 src/XF.php(390): XF\App->run()
#14 index.php(20): XF::runApp('XF\\Pub\\App')
#15 {main}

Code:
array(4) {
  ["url"] => string(129) "/account/visitor-menu?_xfRequestUri=%2F&_xfWithData=1&_xfToken=1548895508%2Cd5f1748c3421bb3748119abb6d9c4f8a&_xfResponseType=json"
  ["referrer"] => string(22) "https://domain.com/"
  ["_GET"] => array(4) {
    ["_xfRequestUri"] => string(1) "/"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(43) "1548895508,d5f1748c3421bb3748119abb6d9c4f8a"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }
}

I got 0 reactions on visitor-menu.

Thank you.
 
Back
Top Bottom