Similar thread cache error

MJ0730

Active member
Licensed customer
Hi,

I've been getting these errors for a while now, looks like every time the cron job runs. I've tried wiping the elastic cache, starting a new one from scratch, disabling other plugins.

Server error log
  • XF\PrintableException: Similar thread cache rebuild failure: The search could not be completed. Please try again later.
  • src/XF.php:1102
  • Generated by: Unknown account
  • Mar 3, 2026 at 10:00 PM

Stack trace​

#0 src/addons/XFES/Search/Source/Elasticsearch.php(892): XF::phrasedException('xfes_search_cou...')
#1 src/addons/XFES/Search/Source/Elasticsearch.php(339): XFES\Search\Source\Elasticsearch->executeSearch(Object(XFES\Search\Query\MoreLikeThisQuery), Array, 100)
#2 src/addons/XFES/XF/Search/Search.php(38): XFES\Search\Source\Elasticsearch->moreLikeThis(Object(XFES\Search\Query\MoreLikeThisQuery), 100)
#3 src/XF/Search/Search.php(375): XFES\XF\Search\Search->XFES\XF\Search\{closure}(Object(XFES\Search\Query\MoreLikeThisQuery), 100)
#4 src/addons/XFES/XF/Search/Search.php(33): XF\Search\Search->executeSearch(Object(XFES\Search\Query\MoreLikeThisQuery), 100, Object(Closure), false)
#5 src/addons/XFES/XF/Repository/Thread.php(93): XFES\XF\Search\Search->moreLikeThis(Object(XFES\Search\Query\MoreLikeThisQuery), 100, false)
#6 src/addons/XFES/XF/Repository/Thread.php(56): XFES\XF\Repository\Thread->getSimilarThreadIds(Object(SV\ReportImprovements\XF\Entity\Thread), 100, false)
#7 src/addons/XFES/Job/SimilarThreads.php(67): XFES\XF\Repository\Thread->rebuildSimilarThreadsCache(Object(SV\ReportImprovements\XF\Entity\Thread))
#8 src/XF/Job/AbstractRebuildJob.php(65): XFES\Job\SimilarThreads->rebuildById(5089)
#9 src/addons/XFES/Job/SimilarThreads.php(26): XF\Job\AbstractRebuildJob->run(8)
#10 src/XF/Job/Manager.php(275): XFES\Job\SimilarThreads->run(8)
#11 src/XF/Job/Manager.php(205): XF\Job\Manager->runJobInternal(Array, 8)
#12 src/XF/Job/Manager.php(89): XF\Job\Manager->runJobEntry(Array, 8)
#13 job.php(46): XF\Job\Manager->runQueue(false, 8)
#14 {main}

Request state​

array(4) {
["url"] => string(16) "/xenforo/job.php"
["referrer"] => string(59) "https://domain.com/xenforo/members/membername.326/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
https://pointsixtyfive.com/xenforo/admin.php?logs/server-errors/418/delete
 
I've had similar in the past, my solution was to disable all the similar thread features and rebuild the search index. They disappeared after that.

PS: You left a live domain link in your post, in case you care.
 
Back
Top Bottom