Duplicate Error when click on Spam Trigger Log

Robru

Well-known member
Affected version
XF2.2.5
Code:
Server error log
ErrorException: Template error: [E_WARNING] Uninitialized string offset 0 src/XF/Language.php:199
Generated by: Ronald May 24, 2021 at 12:48 AM

Code:
Stack trace
#0 src/XF/Language.php(199): XF\Template\Templater->handleTemplateError(2, '[E_WARNING] Uni...', '/var/www/html/c...', 199)
#1 src/XF/Language.php(128): XF\Language->getEffectivePhraseName('', Array, Array)
#2 src/XF/Phrase.php(52): XF\Language->renderPhrase('', Array, 'html', Array)
#3 src/XF/Phrase.php(59): XF\Phrase->render()
#4 src/XF.php(1145): XF\Phrase->__toString()
#5 src/XF/Template/Templater.php(1178): XF::escapeString(Object(XF\Phrase), 'html')
#6 internal_data/code_cache/templates/l1/s0/admin/log_spam_trigger_list.php(30): XF\Template\Templater->escape(Object(XF\Phrase))
#7 src/XF/Template/Templater.php(1628): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#8 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('log_spam_trigge...', Array)
#9 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#10 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('XF:Log\\SpamTrig...', 'admin:log_spam_...', Array)
#11 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#12 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#13 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#14 src/XF/App.php(2337): XF\Mvc\Dispatcher->run()
#15 src/XF.php(488): XF\App->run()
#16 admin.php(13): XF::runApp('XF\\Admin\\App')
#17 {main}

Code:
Request state
array(4) {
  ["url"] => string(39) "/community/admin.php?logs/spam-trigger/"
  ["referrer"] => string(51) "https://www.caviaforum.nl/community/admin.php?logs/"
  ["_GET"] => array(1) {
    ["logs/spam-trigger/"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 
Back
Top Bottom