Michaelb24179
Member
- Affected version
- 2.1.4
I have today check my log and see very many error.
What i have try
Rebuild xenforo
Rebuild all Addon
Disable all Addon
Deletre internal_data/code_cache/navigation_cache.php and new create
Install Defult Style
This error its coming alway. I have no more idea. This error its of all Site per click
Code:
ErrorException: Template error: Method canSellItem is not callable on the given object (XFMG\XF\Entity\User) src/XF/Template/Templater.php:994
Code:
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Method canSellI...', 'sr...', 994, Array)
#1 src/XF/Template/Templater.php(994): trigger_error('Method canSellI...', 512)
#2 internal_data/code_cache/navigation_cache.php(420): XF\Template\Templater->method(Object(XFMG\XF\Entity\User), 'canSellItem', Array)
#3 src/XF/Template/Templater.php(6648): XF\Pub\App->{closure}(Object(XF\Template\Templater), 'xfrm', Array)
#4 src/XF/Pub/App.php(557): XF\Template\Templater->renderNavigationClosure(Object(Closure), 'xfrm', Array)
#5 src/XF/Pub/App.php(510): XF\Pub\App->getNavigation(Array, 'xfrm')
#6 src/XF/App.php(1989): XF\Pub\App->renderPageHtml('
...', Array, Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#7 src/XF/Mvc/Dispatcher.php(362): XF\App->renderPage('
...', Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#8 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#9 src/XF/App.php(2178): XF\Mvc\Dispatcher->run()
#10 src/XF.php(390): XF\App->run()
#11 index.php(20): XF::runApp('XF\\Pub\\App')
#12 {main}
What i have try
Rebuild xenforo
Rebuild all Addon
Disable all Addon
Deletre internal_data/code_cache/navigation_cache.php and new create
Install Defult Style
This error its coming alway. I have no more idea. This error its of all Site per click
Last edited: