Not a bug Two server error logs

Affected version
2.1

MarcusJonesy

Active member
Recently upgraded to 2.1 from 2.0.12 and im having two server errors logs constantly. Didn't happen when I ran a test site but that may have been due to lack of people testing it.

Code:
    ErrorException: Template error: Template public:alert_conversation_message_react is unknown src/XF/Template/Templater.php:611

    Generated by: ********* Feb 11, 2019 at 7:51 AM

Stack trace

#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Template public...', '/home/*********/...', 611, Array)
#1 src/XF/Template/Templater.php(611): trigger_error('Template public...', 512)
#2 src/XF/Template/Templater.php(562): XF\Template\Templater->getTemplateData('public', 'alert_conversat...')
#3 src/XF/Template/Templater.php(1293): XF\Template\Templater->getTemplateCode('public', 'alert_conversat...')
#4 src/XF/Alert/AbstractHandler.php(80): XF\Template\Templater->renderTemplate('alert_conversat...', Array)
#5 src/XF/Entity/UserAlert.php(69): XF\Alert\AbstractHandler->render(Object(XF\Entity\UserAlert))
#6 [internal function]: XF\Entity\UserAlert->render()
#7 src/XF/Template/Templater.php(978): call_user_func_array(Array, Array)
#8 internal_data/code_cache/templates/l1/s3/public/alert_macros.php(18): XF\Template\Templater->method(Object(XF\Entity\UserAlert), 'render', Array)
#9 src/XF/Template/Templater.php(694): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Array)
#10 internal_data/code_cache/templates/l1/s3/public/account_alerts.php(28): XF\Template\Templater->callMacro('alert_macros', 'row', Array, Array)
#11 src/XF/Template/Templater.php(1294): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array)
#12 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('account_alerts', Array)
#13 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#14 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Html->renderView('XF:Account\\Aler...', 'public:account_...', Array)
#15 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#16 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#17 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#18 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#19 src/XF.php(390): XF\App->run()
#20 index.php(20): XF::runApp('XF\\Pub\\App')
#21 {main}

Request state

array(4) {
  ["url"] => string(35) "/community/index.php?account/alerts"
  ["referrer"] => string(48) "https://*************/community/index.php"
  ["_GET"] => array(1) {
    ["account/alerts"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
Code:
    ErrorException: Template error: Template public:alert_post_react is unknown src/XF/Template/Templater.php:611

    Generated by: ********* Feb 11, 2019 at 7:51 AM

Stack trace

#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Template public...', '/home/*******/...', 611, Array)
#1 src/XF/Template/Templater.php(611): trigger_error('Template public...', 512)
#2 src/XF/Template/Templater.php(562): XF\Template\Templater->getTemplateData('public', 'alert_post_reac...')
#3 src/XF/Template/Templater.php(1293): XF\Template\Templater->getTemplateCode('public', 'alert_post_reac...')
#4 src/XF/Alert/AbstractHandler.php(80): XF\Template\Templater->renderTemplate('alert_post_reac...', Array)
#5 src/XF/Entity/UserAlert.php(69): XF\Alert\AbstractHandler->render(Object(XF\Entity\UserAlert))
#6 [internal function]: XF\Entity\UserAlert->render()
#7 src/XF/Template/Templater.php(978): call_user_func_array(Array, Array)
#8 internal_data/code_cache/templates/l1/s3/public/alert_macros.php(18): XF\Template\Templater->method(Object(XF\Entity\UserAlert), 'render', Array)
#9 src/XF/Template/Templater.php(694): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Array)
#10 internal_data/code_cache/templates/l1/s3/public/account_alerts.php(28): XF\Template\Templater->callMacro('alert_macros', 'row', Array, Array)
#11 src/XF/Template/Templater.php(1294): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array)
#12 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('account_alerts', Array)
#13 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#14 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Html->renderView('XF:Account\\Aler...', 'public:account_...', Array)
#15 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#16 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#17 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#18 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#19 src/XF.php(390): XF\App->run()
#20 index.php(20): XF::runApp('XF\\Pub\\App')
#21 {main}

Request state

array(4) {
  ["url"] => string(35) "/community/index.php?account/alerts"
  ["referrer"] => string(48) "https://***********/community/index.php"
  ["_GET"] => array(1) {
    ["account/alerts"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
Any help appreciated.
 

Chris D

XenForo developer
Staff member
XenForo's templates are named alert_conversation_message_reaction and alert_post_reaction. The names of the missing templates are different so these are likely from your previous content ratings / reactions add-on. Therefore the query should be directed there.

If the add-on has been uninstalled, they should be removing entries from the xf_user_alert table (and probably xf_news_feed table).
 

MarcusJonesy

Active member
XenForo's templates are named alert_conversation_message_reaction and alert_post_reaction. The names of the missing templates are different so these are likely from your previous content ratings / reactions add-on. Therefore the query should be directed there.

If the add-on has been uninstalled, they should be removing entries from the xf_user_alert table (and probably xf_news_feed table).
Thanks Chris. I had TH reactions installed but uninstalled it after the upgrade. Ill check it out with them.

https://xenforo.com/community/threads/th-reactions-paid.134133/page-55
 
Top