ErrorException: Template error: Method canEdit is not callable on the given object (Truonglv\Schedule\Entity\Schedule) src/XF/Template/Templater.php:980
Generated by: mt.wellington May 9, 2019 at 9:17 PM
Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Method canEdit ...', '/home/nginx/dom...', 980, Array)
#1 src/XF/Template/Templater.php(980): trigger_error('Method canEdit ...', 512)
#2 internal_data/code_cache/templates/l1/s19/public/tsc_helper_macros.php(71): XF\Template\Templater->method(Object(Truonglv\Schedule\Entity\Schedule), 'canEdit', Array)
#3 src/XF/Template/Templater.php(701): XF\Template\Templater->{closure}(Object(ThemeHouse\ReactPlus\XF\Template\Templater), Array, Array)
#4 src/XF/Template/Templater.php(779): XF\Template\Templater->callMacro('tsc_helper_macr...', 'thread_view_blo...', Array, Array)
#5 src/addons/Truonglv/Schedule/Util/Callback.php(90): XF\Template\Templater->renderMacro('tsc_helper_macr...', 'thread_view_blo...', Array)
#6 [internal function]: Truonglv\Schedule\Util\Callback::renderBlock('', Array, Object(ThemeHouse\ReactPlus\XF\Template\Templater))
#7 src/XF/Template/Templater.php(1389): call_user_func(Array, '', Array, Object(ThemeHouse\ReactPlus\XF\Template\Templater))
#8 internal_data/code_cache/templates/l1/s19/public/tsc_helper_macros.php(11): XF\Template\Templater->callback('Truonglv\\Schedu...', 'renderBlock', '', Array)
#9 src/XF/Template/Templater.php(701): XF\Template\Templater->{closure}(Object(ThemeHouse\ReactPlus\XF\Template\Templater), Array, Array)
#10 internal_data/code_cache/templates/l1/s19/public/thread_view.php(170): XF\Template\Templater->callMacro('tsc_helper_macr...', 'thread', Array, Array)
#11 src/XF/Template/Templater.php(1301): XF\Template\Templater->{closure}(Object(ThemeHouse\ReactPlus\XF\Template\Templater), Array)
#12 src/addons/BR/ModernStatistic/XF/Template/Templater.php(27): XF\Template\Templater->renderTemplate('thread_view', Array, true)
#13 src/XF/Template/Template.php(24): BR\ModernStatistic\XF\Template\Templater->renderTemplate('public:thread_v...', 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:Thread\\View', 'public:thread_v...', 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}