XF 2.0 Template error: Macro public:message_macros:signature is unknown

bcercan

Active member
Hello everyone,

as in the title I get "Template error: Macro public:message_macros:signature is unknown" this error messages millions times and even my xf_error_log got 52gb in one month.

it seems everything work fine except this errors brings huge heavy on database, I guess it because I removed signature part from the message_body template, I dont want nobody use signature in my forum.

is there any way to stop this errors recording or disabling signature in the right way , does anyone can help ?


error details

Code:
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Macro public:me...', '/home/minec/pub...', 556, Array)
#1 src/XF/Template/Templater.php(556): trigger_error('Macro public:me...', 512)
#2 src/XF/Template/Templater.php(660): XF\Template\Templater->getTemplateMacro('public', 'message_macros', 'signature')
#3 internal_data/code_cache/templates/l20/s26/public/post_macros.php(179): XF\Template\Templater->callMacro('message_macros', 'signature', Array, Array)
#4 src/XF/Template/Templater.php(661): XF\Template\Templater->{closure}(Object(KL\UserImprovements\Template\Templater), Array, Array)
#5 internal_data/code_cache/templates/l20/s26/public/thread_view.php(538): XF\Template\Templater->callMacro('post_macros', 'post', Array, Array)
#6 src/XF/Template/Templater.php(1248): XF\Template\Templater->{closure}(Object(KL\UserImprovements\Template\Templater), Array)
#7 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#8 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#9 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#10 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#11 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#12 src/XF/App.php(1891): XF\Mvc\Dispatcher->run()
#13 src/XF.php(328): XF\App->run()
#14 index.php(9): XF::runApp('XF\\Pub\\App')
#15 {main}
 
Last edited:
Back
Top Bottom