[BUG] Template error: Macro public:tag_macros:idedit_form is unknown

Brettflan

Active Member
Got this error a few times recently, it seems to be from trying to edit tags on a group.
  • ErrorException: Template error: [E_USER_WARNING] Macro public:tag_macros:idedit_form is unknown
  • src/XF/Template/Templater.php:748
  • Mar 28, 2025 at 3:30 AM

Stack trace​

#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/site-forums...', 748)
#1 src/XF/Template/Templater.php(748): trigger_error('Macro public:ta...', 512)
#2 src/XF/Template/Templater.php(867): XF\Template\Templater->getTemplateMacro('public', 'tag_macros', 'idedit_form')
#3 internal_data/code_cache/templates/l1/s2/public/tlg_helper_edit_tags.php(20): XF\Template\Templater->callMacro('tag_macros', 'idedit_form', Array, Array)
#4 src/XF/Template/Templater.php(1799): XF\Template\Templater->{closure:internal_data/code_cache/templates/l1/s2/public/tlg_helper_edit_tags.php:4}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#5 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('tlg_helper_edit...', Array)
#6 src/XF/Mvc/Renderer/Json.php(86): XF\Template\Template->render()
#7 src/XF/Mvc/Renderer/Json.php(70): XF\Mvc\Renderer\Json->renderHtmlFallback('Truonglv\\Groups...', 'public:tlg_help...', Array)
#8 src/XF/Mvc/Dispatcher.php(471): XF\Mvc\Renderer\Json->renderView('Truonglv\\Groups...', 'public:tlg_help...', Array)
#9 src/XF/Mvc/Dispatcher.php(453): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(412): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#11 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#12 src/XF/App.php(2826): XF\Mvc\Dispatcher->run()
#13 src/XF.php(806): XF\App->run()
#14 index.php(23): XF::runApp('XF\\Pub\\App')
#15 {main}

Request state​

array(4) {
["url"] => string(191) "/index.php?group-actions/556/tags&_xfResponseType=json&_xfWithData=1&_xfRequestUri=%2Findex.php%3Fgroups%2Fhh-house-hildemar.556%2Fabout"
["referrer"] => string(74) "https://forums.taleworlds.com/index.php?groups/hh-house-hildemar.556/about"
["_GET"] => array(5) {
["group-actions/556/tags"] => string(0) ""
["_xfResponseType"] => string(4) "json"
["_xfWithData"] => string(1) "1"
["_xfRequestUri"] => string(45) "/index.php?groups/hh-house-hildemar.556/about"
["_xfToken"] => string(43) "<snipped>"
}
["_POST"] => array(0) {
}
}
There indeed is no "idedit_form" macro in public:tag_macros. There is an "edit_form" macro, which I'm guessing is what it should instead reference within the "tlg_helper_edit_tags" template.
 
Back
Top