XF 2.2 Template error: [E_USER_WARNING] Template public:translations is unknown

Steve Gibson

Active member
Dear Xenforo Gurus...

After the update to v2.2.6 patch 1, I'm getting TONS (many hundreds) of these...

Server error log
  • ErrorException: Template error: [E_USER_WARNING] Template public:translations is unknown
  • src\XF\Template\Templater.php:682
  • Generated by: Unknown account
  • Jul 24, 2021 at 12:43 PM

Stack trace​

#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', 'C:\\www\\sqrl\\src...', 682, Array)
#1 src\XF\Template\Templater.php(682): trigger_error('Template public...', 512)
#2 src\XF\Template\Templater.php(1611): XF\Template\Templater->getTemplateData('public', 'translations')
#3 src\XF\Template\Templater.php(1673): XF\Template\Templater->renderTemplate('translations', Array)
#4 internal_data\code_cache\templates\l1\s22\public\_page_node.43.php(7): XF\Template\Templater->includeTemplate('public:translat...', Array)
#5 src\XF\Template\Templater.php(1644): XF\Template\Templater->{closure}(Object(Iconify\Iconify\Template\Templater), Array, NULL)
#6 src\XF\Template\Templater.php(1673): XF\Template\Templater->renderTemplate('_page_node.43', Array)
#7 internal_data\code_cache\templates\l1\s22\public\page_view.php(93): XF\Template\Templater->includeTemplate('public:_page_no...', Array)
#8 src\XF\Template\Templater.php(1644): XF\Template\Templater->{closure}(Object(Iconify\Iconify\Template\Templater), Array, NULL)
#9 src\XF\Template\Template.php(24): XF\Template\Templater->renderTemplate('page_view', Array)
#10 src\XF\Mvc\Renderer\Html.php(48): XF\Template\Template->render()
#11 src\XF\Mvc\Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('XF: Page\\View', 'public: page_vie...', Array)
#12 src\XF\Mvc\Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#13 src\XF\Mvc\Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#14 src\XF\Mvc\Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#15 src\XF\App.php(2344): XF\Mvc\Dispatcher->run()
#16 src\XF.php(512): XF\App->run()
#17 index.php(20): XF::runApp('XF\\Pub\\App')
#18 {main}

Any idea what I can do, where I could look? Thanks a million!! :)
 
Thanks Brogan! Problem solved with your tip.

I can created a custom template named "translations" whose contents was being included at the top of several of my forum's pages. I'm using the ThemeHouse UX themes, and an upgrade of those themes apparently wiped out the template, but the compiled references remained.

The UX themes do not inherit from the XenForo Default style.

Thanks!!! :) Terrific support, as ever!
 
Back
Top Bottom