XenForo Template error: [E_USER_WARNING] Method canView is not callable on the given object (XF\Entity\User)

W

WxP

Guest
0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/home/user/...', 1161)
#1 src/XF/Template/Templater.php(1161): trigger_error('Method canView ...', 512)
#2 internal_data/code_cache/navigation_cache.php(267): XF\Template\Templater->method(Object(XF\Entity\User), 'canView', Array)
#3 src/XF/Template/Templater.php(7378): XF\Pub\App->{closure}(Object(XF\Template\Templater), NULL, Array)
#4 src/XF/Pub/App.php(575)...

Read more

Continue reading...