Mian Shahid
Well-known member
Hi, After upgrading to XF 2.1.0, I am receiving lot of same like errors with different user IDs as well as post IDs:
like
Any Advise?
like
- Accessed unknown getter 'like_users' on XFost[5325]
- Accessed unknown getter 'like_count' on XF:User[61]
PHP:
InvalidArgumentException: Accessed unknown getter 'like_count' on XF:User[61] src/XF/Mvc/Entity/Entity.php:194
Generated by: Doctor Jan 31, 2019 at 3:29 PM
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(106): XF\Mvc\Entity\Entity->get('like_count')
#1 internal_data/code_cache/templates/l1/s1/public/widget_tpm.php(34): XF\Mvc\Entity\Entity->offsetGet('like_count')
#2 src/XF/Template/Templater.php(694): XF\Template\Templater->{closure}(Object(xenMade\TPM\XF\Template\Templater), Array, Array)
#3 internal_data/code_cache/templates/l1/s1/public/tpm_sidebar_results.php(21): XF\Template\Templater->callMacro('widget_tpm', 'tpm_user', Array, Array)
#4 src/XF/Template/Templater.php(1294): XF\Template\Templater->{closure}(Object(xenMade\TPM\XF\Template\Templater), Array)
#5 src/XF/Template/Templater.php(1367): XF\Template\Templater->renderTemplate('public:tpm_side...', Array)
#6 internal_data/code_cache/templates/l1/s1/public/widget_tpm.php(63): XF\Template\Templater->includeTemplate('tpm_sidebar_res...', Array)
#7 src/XF/Template/Templater.php(1294): XF\Template\Templater->{closure}(Object(xenMade\TPM\XF\Template\Templater), Array)
#8 src/XF/Widget/WidgetRenderer.php(62): XF\Template\Templater->renderTemplate('public:widget_t...', Array)
#9 src/XF/Widget/WidgetRenderer.php(67): XF\Widget\WidgetRenderer->render()
#10 src/XF/Template/Templater.php(1613): XF\Widget\WidgetRenderer->__toString()
#11 internal_data/code_cache/templates/l1/s1/public/forum_list.php(206): XF\Template\Templater->widgetPosition('forum_list_side...', Array)
#12 src/XF/Template/Templater.php(1294): XF\Template\Templater->{closure}(Object(xenMade\TPM\XF\Template\Templater), Array)
#13 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('public:forum_li...', Array)
#14 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#15 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Html->renderView('XF:Forum\\Listin...', 'public:forum_li...', Array)
#16 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#17 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#18 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#19 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#20 src/XF.php(390): XF\App->run()
#21 index.php(20): XF::runApp('XF\\Pub\\App')
#22 {main}
Any Advise?