Just got this error for all the activity summary emails that tried to send.
Code:
TypeError: Template email:activity_summary_latest_threads error: Argument 1 passed to XF\Str\Formatter::wholeWordTrimBbCode() must be of the type string, null given, called in /home/pointsixtyfive/public_html/xenforo/src/XF/Template/Templater.php on line 2375 src/XF/Str/Formatter.php:644
Generated by: KiloFoxtrot1 Jul 19, 2021 at 9:20 AM
Stack trace
#0 src/XF/Template/Templater.php(2375): XF\Str\Formatter->wholeWordTrimBbCode(NULL, 300)
#1 src/XF/Template/Templater.php(2387): XF\Template\Templater->fnBbCodeSnippet(Object(XF\Mail\Templater), false, NULL, 'post', NULL, 300, Array, 'emailHtml')
#2 [internal function]: XF\Template\Templater->fnBbCodeTypeSnippet(Object(XF\Mail\Templater), false, 'emailHtml', NULL, 'post', NULL, 300)
#3 src/XF/Template/Templater.php(1121): call_user_func_array(Array, Array)
#4 internal_data/code_cache/templates/l1/s5/email/activity_summary_latest_threads.php(41): XF\Template\Templater->func('bb_code_type_sn...', Array, false)
#5 src/XF/Template/Templater.php(1644): XF\Template\Templater->{closure}(Object(XF\Mail\Templater), Array, NULL)
#6 src/XF/Mail/Mailer.php(216): XF\Template\Templater->renderTemplate('activity_summar...', Array)
#7 src/XF/ActivitySummary/AbstractSection.php(172): XF\Mail\Mailer->renderPartialMailTemplate('activity_summar...', Array, Object(XF\Language), Object(SV\WarningImprovements\XF\Entity\User))
#8 src/XF/ActivitySummary/LatestThreads.php(123): XF\ActivitySummary\AbstractSection->renderSectionTemplate(Object(XF\ActivitySummary\Instance), 'activity_summar...', Array)
#9 src/XF/ActivitySummary/AbstractSection.php(46): XF\ActivitySummary\LatestThreads->renderInternal(Object(XF\ActivitySummary\Instance))
#10 src/XF.php(613): XF\ActivitySummary\AbstractSection->XF\ActivitySummary\{closure}()
#11 src/XF/ActivitySummary/AbstractSection.php(47): XF::asVisitor(Object(SV\WarningImprovements\XF\Entity\User), Object(Closure))
#12 src/XF/Job/ActivitySummaryEmail.php(144): XF\ActivitySummary\AbstractSection->render(Object(XF\ActivitySummary\Instance))
#13 src/XF/Job/ActivitySummaryEmail.php(111): XF\Job\ActivitySummaryEmail->generateEmailData(Object(SV\WarningImprovements\XF\Entity\User))
#14 src/XF/Job/ActivitySummaryEmail.php(67): XF\Job\ActivitySummaryEmail->generateAndSendEmail(Object(SV\WarningImprovements\XF\Entity\User))
#15 src/XF/Job/Manager.php(258): XF\Job\ActivitySummaryEmail->run(8)
#16 src/XF/Job/Manager.php(200): XF\Job\Manager->runJobInternal(Array, 8)
#17 src/XF/Job/Manager.php(84): XF\Job\Manager->runJobEntry(Array, 8)
#18 job.php(43): XF\Job\Manager->runQueue(false, 8)
#19 {main}
Request state
array(4) {
["url"] => string(16) "/xenforo/job.php"
["referrer"] => string(35) "https://****.com/xenforo/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}