Как исправить ошибку?
Код:
[LIST]
[*]
[*]ErrorException: Template error: [E_USER_WARNING] Macro public:real_time_chat_macros:message_history_item is unknown
[*]
[*]src/XF/Template/Templater.php:657
[*]
[/LIST]
[HEADING=2]Трассировка стека[/HEADING]
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/home/carder/pu...', 657, Array)
#1 src/XF/Template/Templater.php(657): trigger_error('Macro public:re...', 512)
#2 src/XF/Template/Templater.php(770): XF\Template\Templater->getTemplateMacro('public', 'real_time_chat_...', 'message_history...')
#3 internal_data/code_cache/templates/l2/s3/public/real_time_chat_history.php(48): XF\Template\Templater->callMacro('real_time_chat_...', 'message_history...', Array, Array)
#4 src/XF/Template/Templater.php(1651): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#5 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('real_time_chat_...', Array)
#6 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#7 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('BS\\RealTimeChat...', 'public:real_tim...', Array)
#8 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#9 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#11 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
#12 src/XF.php(524): XF\App->run()
#13 index.php(20): XF::runApp('XF\\Pub\\App')
#14 {main}
[HEADING=2]Содержимое запроса[/HEADING]
array(4) {
["url"] => string(14) "/chat/history/"
["referrer"] => string(18) "https://site.ru/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}