XF 2.2 Server error

Rinkrat

Member
Any ideas what is causing this?

  • ErrorException: Template error: [E_USER_WARNING] Method canViewShowcaseItems is not callable on the given object (XFRM\XF\Entity\User)
  • src/XF/Template/Templater.php:1189
  • Generated by: Unknown account
  • Aug 20, 2023 at 8:45 PM

Stack trace​

#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', 's...', 1189)
#1 src/XF/Template/Templater.php(1189): trigger_error('Method canViewS...', 512)
#2 internal_data/code_cache/templates/l1/s4/public/member_list_macros.php(81): XF\Template\Templater->method(Object(XFRM\XF\Entity\User), 'canViewShowcase...', Array)
#3 src/XF/Template/Templater.php(827): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#4 internal_data/code_cache/templates/l1/s4/public/reaction_list.php(34): XF\Template\Templater->callMacro('member_list_mac...', 'item', Array, Array)
#5 src/XF/Template/Templater.php(827): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#6 internal_data/code_cache/templates/l1/s4/public/reaction_list.php(142): XF\Template\Templater->callMacro('reaction_list', 'reactions_list', Array, Array)
#7 src/XF/Template/Templater.php(1654): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#8 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('reaction_list', Array)
#9 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#10 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Reaction\\Lis...', 'public:reaction...', Array)
#11 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#12 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#13 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#14 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#15 src/XF.php(524): XF\App->run()
#16 index.php(20): XF::runApp('XF\\Pub\\App')
#17 {main}

Request state​

array(4) {
["url"] => string(45) "/media/albums/prospects-scrimmage.7/reactions"
["referrer"] => bool(false)
["_GET"] => array(1) {
["/media/albums/prospects-scrimmage_7/reactions"] => string(0) ""
}
["_POST"] => array(0) {
}
}
 
Make sure you are using the latest version of ShowCase.
A similar issue was reported at XenAddons... Bob pointed to these two links as possible issues

Bob doesn't support his add-ons over here... if it is something involving them, you need to go to his support site.
 
Back
Top Bottom