Not sure if this is an AMP problem or not but I get a few of these a day in my Xenforo Error log. So figured I would let you know about it.
Server error log
- ErrorException: Template error: [E_USER_WARNING] Macro public:thread_view:thread_custom_fields_status is unknown
- src/XF/Template/Templater.php:650
- Generated by: Bobby
- Aug 5, 2021 at 9:28 PM
Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/home/satellite...', 650, Array)
#1 src/XF/Template/Templater.php(650): trigger_error('Macro public:th...', 512)
#2 src/XF/Template/Templater.php(763): XF\Template\Templater->getTemplateMacro('public', 'thread_view', 'thread_custom_f...')
#3 src/addons/MaZ/AMP/XF/Template/Templater.php(136): XF\Template\Templater->callMacro('thread_view', 'thread_custom_f...', Array, Array, NULL)
#4 internal_data/code_cache/templates/l1/s103/public/post_edit_new_post.php(13): MaZ\AMP\XF\Template\Templater->callMacro(NULL, 'thread_view::th...', Array, Array)
#5 src/XF/Template/Templater.php(1644): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, NULL)
#6 src/addons/MaZ/AMP/XF/Template/XF22/Templater.php(52): XF\Template\Templater->renderTemplate('post_edit_new_p...', Array, true, NULL)
#7 src/XF/Template/Template.php(24): MaZ\AMP\XF\Template\XF22\Templater->renderTemplate('public
ost_edi...', Array)
#8 src/XF/Mvc/Renderer/Json.php(84): XF\Template\Template->render()
#9 src/XF/Mvc/Renderer/Json.php(68): XF\Mvc\Renderer\Json->renderHtmlFallback('XF
ost\\EditNew...', 'public
ost_edi...', Array)
#10 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Json->renderView('XF
ost\\EditNew...', 'public
ost_edi...', Array)
#11 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#12 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#13 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#14 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
#15 src/XF.php(512): XF\App->run()
#16 index.php(20): XF::runApp('XF\\Pub\\App')
#17 {main}
Request state
array(4) {
["url"] => string(23) "/xen/posts/4634522/edit"
["referrer"] => string(68) "
https://www.satelliteguys.us/xen/threads/overcoming-a-forest.394631/"
["_GET"] => array(0) {
}
["_POST"] => array(8) {
["message_html"] => string(178) "<p>Hipkat will be along to advise but to get you started, you can have 3 separate dishes with a Hopper 3. You just have to use a DPH 42 switch to add the hybrid needed.</p>"
["_xfInlineEdit"] => string(1) "1"
["attachment_hash"] => string(32) "fbc2b1a3ffdd41acf134787d729cdd6b"
["attachment_hash_combined"] => string(87) "{"type":"post","context":{"post_id":4634522},"hash":"fbc2b1a3ffdd41acf134787d729cdd6b"}"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(40) "/xen/threads/overcoming-a-forest.394631/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}