XF 2.0 Getting, "Oops! We ran into some problems. Please try again later. More error details may be in the browser console."


About 25% of the time when replying to threads, we're receiving the message, "Oops! We ran into some problems. Please try again later. More error details may be in the browser console.". It seems the post is made, but it takes a minute to show up. Is there anything I can do to resolve this issue?

Thank you.
No errors in your ACP? There should be some. And also this sounds like some addons inflicting to your XF. Did you try to disable all addons and see if then all is fine?
The server error log says:

  • ErrorException: Template error: Template email:bb_code_tag_quote is unknown
  • src/XF/Template/Templater.php:582
  • Generated by: DChapman
  • Apr 21, 2018 at 11:07 PM

[*]Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Template email:...', '/var/www/factom...', 582, Array)
#1 src/XF/Template/Templater.php(582): trigger_error('Template email:...', 512)
#2 src/XF/Template/Templater.php(537): XF\Template\Templater->getTemplateData('email', 'bb_code_tag_quo...')
#3 src/XF/Template/Templater.php(1247): XF\Template\Templater->getTemplateCode('email', 'bb_code_tag_quo...')
#4 src/XF/BbCode/Renderer/EmailHtml.php(49): XF\Template\Templater->renderTemplate('bb_code_tag_quo...', Array)
#5 src/XF/BbCode/Renderer/Html.php(772): XF\BbCode\Renderer\EmailHtml->getRenderedQuote('2) No, we will ...', 'BobbyEK', Array, Array)
#6 [internal function]: XF\BbCode\Renderer\Html->renderTagQuote(Array, 'BobbyEK, post: ...', Array, Array, Object(XF\BbCode\Renderer\EmailHtml))
#7 src/XF/BbCode/Renderer/Html.php(246): call_user_func(Array, Array, 'BobbyEK, post: ...', Array, Array, Object(XF\BbCode\Renderer\EmailHtml))
#8 src/XF/BbCode/Traverser.php(54): XF\BbCode\Renderer\Html->renderTag(Array, Array)
#9 src/XF/BbCode/Traverser.php(30): XF\BbCode\Traverser->renderSubTree(Array, Array)
#10 src/XF/BbCode/Traverser.php(18): XF\BbCode\Traverser->renderAst(Array, Object(XF\BbCode\RuleSet), Array)
#11 src/XF/SubContainer/BbCode.php(216): XF\BbCode\Traverser->render('[QUOTE="BobbyEK...', Object(XF\BbCode\Parser), Object(XF\BbCode\RuleSet), Array)
#12 src/XF/Template/Templater.php(1862): XF\SubContainer\BbCode->render('[QUOTE="BobbyEK...', 'emailHtml', 'post', Object(XF\Entity\Post), Array)
#13 src/XF/Template/Templater.php(1867): XF\Template\Templater->fnBbCode(Object(XF\Mail\Templater), false, '[QUOTE="BobbyEK...', 'post', Object(XF\Entity\Post), Array, 'emailHtml')
#14 [internal function]: XF\Template\Templater->fnBbCodeType(Object(XF\Mail\Templater), false, 'emailHtml', '[QUOTE="BobbyEK...', 'post', Object(XF\Entity\Post))
#15 src/XF/Template/Templater.php(879): call_user_func_array(Array, Array)
#16 internal_data/code_cache/templates/l1/s1/email/watched_thread_reply.php(17): XF\Template\Templater->fn('bb_code_type', Array, false)
#17 src/XF/Template/Templater.php(1248): XF\Template\Templater->{closure}(Object(XF\Mail\Templater), Array)
#18 src/XF/Mail/Mailer.php(157): XF\Template\Templater->renderTemplate('watched_thread_...', Array)
#19 src/XF/Mail/Mail.php(277): XF\Mail\Mailer->renderMailTemplate('watched_thread_...', Array, Object(XF\Language), Object(XF\Entity\User))
#20 src/XF/Mail/Mail.php(315): XF\Mail\Mail->renderTemplate()
#21 src/XF/Mail/Mail.php(346): XF\Mail\Mail->getSendableMessage()
#22 src/XF/Notifier/Post/AbstractWatch.php(128): XF\Mail\Mail->queue()
#23 src/XF/Service/AbstractNotifier.php(92): XF\Notifier\Post\AbstractWatch->sendEmail(Object(XF\Entity\User))
#24 src/XF/Service/AbstractNotifier.php(44): XF\Service\AbstractNotifier->notifyType(Object(XF\Notifier\Post\ThreadWatch), Array, 1524348426.2816)
#25 src/XF/Service/AbstractNotifier.php(56): XF\Service\AbstractNotifier->notify(3)
#26 src/XF/Service/Thread/Replier.php(199): XF\Service\AbstractNotifier->notifyAndEnqueue(3)
#27 src/XF/Pub/Controller/Thread.php(300): XF\Service\Thread\Replier->sendNotifications()
#28 src/XF/Pub/Controller/Thread.php(433): XF\Pub\Controller\Thread->finalizeThreadReply(Object(XF\Service\Thread\Replier))
#29 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#30 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'AddReply', 'json', Object(XF\Mvc\ParameterBag), 'forums', Object(XF\Pub\Controller\Thread), NULL)
#31 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#32 src/XF/App.php(1891): XF\Mvc\Dispatcher->run()
#33 src/XF.php(328): XF\App->run()
#34 index.php(13): XF::runApp('XF\\Pub\\App')
#35 {main}
[*]Request state
array(4) {
["url"] => string(42) "/forums/threads/federate-this.79/add-reply"
["referrer"] => string(54) "https://factomize.com/forums/threads/federate-this.79/"
["_GET"] => array(0) {
["_POST"] => array(9) {
["message_html"] => string(570) "<p>
2) No, we will never be taking a salary. We love our jobs, and in a tax free environment it’s more than enough. Personally I hate the thought of Factom paying for people’s rent, car, “business travel” or expense account.</p><p><br></p><p>We will reduce any holdings in the event we are elected out of the Authority Set.
</p><p>Off Blocks seems like an extremely ambitious effort. &nbsp;Do you feel you'll be able to make it a reality by working on it part time while earning your salary elsewhere?</p><p><br></p>"
["attachment_hash"] => string(32) "938292bc57a5e49602bb86dc2ec32c59"
["attachment_hash_combined"] => string(84) "{"type":"post","context":{"thread_id":79},"hash":"938292bc57a5e49602bb86dc2ec32c59"}"
["last_date"] => string(10) "1524346256"
["last_known_date"] => string(10) "1524346256"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(33) "/forums/threads/federate-this.79/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
I don't have any add-ons and the only code or template edit is the one I alluded to in post #7. This is a pretty new install of XF.


  • Screenshot 2018-04-22 at 8.36.12 AM.webp
    Screenshot 2018-04-22 at 8.36.12 AM.webp
    6.3 KB · Views: 14
This only seems to happen when replying to others. I'll get the error and then if you simply wait 15 seconds, the following shows up but if you don't wait, you double post:


  • Screenshot 2018-04-22 at 9.14.32 AM.webp
    Screenshot 2018-04-22 at 9.14.32 AM.webp
    49.3 KB · Views: 14
  • Screenshot 2018-04-22 at 9.15.40 AM.webp
    Screenshot 2018-04-22 at 9.15.40 AM.webp
    85.4 KB · Views: 11
As far as I can tell, this bug has only been happening in one specific subforum. The permissions for this forum are such where admin can see all the threads, registered users can only see their own threads and posts and the posts by admin who respond to their threads, and everyone else cannot see any of those threads/posts. I thought I'd mention this in case it is pertinent.
Top Bottom