I have received a couple of related / identical template errors:
Assuming these are based on the XenForo bug mentioned above.
ErrorException: Template error: [E_USER_WARNING] Function vw_fa_weight is unknown src/XF/Template/Templater.php:1106
Generated by: Unknown account Oct 18, 2022 at 1:26 PM
Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/var/www/html/5...', 1106)
#1 src/XF/Template/Templater.php(1106): trigger_error('Function vw_fa_...', 512)
#2 internal_data/code_cache/templates/l1/s1/public/vw_attach.less.php(191): XF\Template\Templater->func('vw_fa_weight', Array, true)
#3 src/XF/Template/Templater.php(1651): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#4 src/XF/CssRenderer.php(333): XF\Template\Templater->renderTemplate('vw_attach.less', Array, false)
#5 src/XF/CssRenderer.php(260): XF\CssRenderer->renderTemplate('public:vw_attac...', NULL)
#6 src/XF/CssRenderer.php(118): XF\CssRenderer->renderTemplates(Array, Array, Array)
#7 src/XF/CssWriter.php(55): XF\CssRenderer->render(Array)
#8 css.php(30): XF\CssWriter->run(Array, 1, 1, '8ddbcd686ce6128...')
#9 {main}
Request state
array(4) {
["url"] => string(569) "/forums/css.php?css=public%3Aandy_banner.less%2Cpublic%3Aattachme nts.less%2Cpublic%3Abb_code.less%2Cpublic%3Alightbox.less %2Cpublic%3Amessage.less%2Cpublic%3Anotices.less%2Cpublic %3AozzmodzDropTab.less%2Cpublic%3Ashare_controls.less%2Cp ublic%3Asnog_flags.less%2Cpublic%3Astructured_list.less%2 Cpublic%3AsvESE_autocomplete.less%2Cpublic%3Avw_attach.le ss%2Cpublic%3Avw_base.less%2Cpublic%3Avw_bbcode.less%2Cpu blic%3Avw_list.less%2Cpublic%3Avw_section.less%2Cpublic%3 Aextra.less%2Cpublic%3Avw_additional.less&s=1&l=1&d=16645 47907&k=8ddbcd686ce6128f8a4c09a9e98c4d24cf0ea288"
["referrer"] => bool(false)
["_GET"] => array(5) {
["css"] => string(415) "public:andy_banner.less,public:attachments.less,public:b b_code.less,public:lightbox.less,public:message.less,publ ic:notices.less,public
zzmodzDropTab.less,public:share_controls.less,public:snog _flags.less,public:structured_list.less,public:svESE_auto complete.less,public:vw_attach.less,public:vw_base.less,p ublic:vw_bbcode.less,public:vw_list.less,public:vw_sectio n.less,public:extra.less,public:vw_additional.less"
["s"] => string(1) "1"
["l"] => string(1) "1"
["d"] => string(10) "1664547907"
["k"] => string(40) "8ddbcd686ce6128f8a4c09a9e98c4d24cf0ea288"
}
["_POST"] => array(0) {
}
}
AND
ErrorException: Template error: [E_USER_WARNING] Function vw_fa_code is unknown src/XF/Template/Templater.php:1106
Generated by: Unknown account Oct 18, 2022 at 1:26 PM
Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/var/www/html/5...', 1106)
#1 src/XF/Template/Templater.php(1106): trigger_error('Function vw_fa_...', 512)
#2 internal_data/code_cache/templates/l1/s1/public/vw_attach.less.php(104): XF\Template\Templater->func('vw_fa_code', Array, true)
#3 src/XF/Template/Templater.php(1651): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#4 src/XF/CssRenderer.php(333): XF\Template\Templater->renderTemplate('vw_attach.less', Array, false)
#5 src/XF/CssRenderer.php(260): XF\CssRenderer->renderTemplate('public:vw_attac...', NULL)
#6 src/XF/CssRenderer.php(118): XF\CssRenderer->renderTemplates(Array, Array, Array)
#7 src/XF/CssWriter.php(55): XF\CssRenderer->render(Array)
#8 css.php(30): XF\CssWriter->run(Array, 1, 1, '8ddbcd686ce6128...')
#9 {main}
Request state
array(4) {
["url"] => string(569) "/forums/css.php?css=public%3Aandy_banner.less%2Cpublic%3Aattachme nts.less%2Cpublic%3Abb_code.less%2Cpublic%3Alightbox.less %2Cpublic%3Amessage.less%2Cpublic%3Anotices.less%2Cpublic %3AozzmodzDropTab.less%2Cpublic%3Ashare_controls.less%2Cp ublic%3Asnog_flags.less%2Cpublic%3Astructured_list.less%2 Cpublic%3AsvESE_autocomplete.less%2Cpublic%3Avw_attach.le ss%2Cpublic%3Avw_base.less%2Cpublic%3Avw_bbcode.less%2Cpu blic%3Avw_list.less%2Cpublic%3Avw_section.less%2Cpublic%3 Aextra.less%2Cpublic%3Avw_additional.less&s=1&l=1&d=16645 47907&k=8ddbcd686ce6128f8a4c09a9e98c4d24cf0ea288"
["referrer"] => bool(false)
["_GET"] => array(5) {
["css"] => string(415) "public:andy_banner.less,public:attachments.less,public:b b_code.less,public:lightbox.less,public:message.less,publ ic:notices.less,public
zzmodzDropTab.less,public:share_controls.less,public:snog _flags.less,public:structured_list.less,public:svESE_auto complete.less,public:vw_attach.less,public:vw_base.less,p ublic:vw_bbcode.less,public:vw_list.less,public:vw_sectio n.less,public:extra.less,public:vw_additional.less"
["s"] => string(1) "1"
["l"] => string(1) "1"
["d"] => string(10) "1664547907"
["k"] => string(40) "8ddbcd686ce6128f8a4c09a9e98c4d24cf0ea288"
}
["_POST"] => array(0) {
}
}