JoyFreak
Well-known member
Server error log
Stack trace
- ErrorException: Template error: Cannot call method hasPermission on a non-object (NULL)
- src/XF/Template/Templater.php:984
- Generated by: xenonVirus
- Jan 9, 2020 at 3:06 PM
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Cannot call met...', '/home/joyfreak/...', 984, Array)
#1 src/XF/Template/Templater.php(984): trigger_error('Cannot call met...', 512)
#2 internal_data/code_cache/templates/l1/s27/public/siropu_ads_manager_ad_macros.php(14): XF\Template\Templater->method(NULL, 'hasPermission', Array)
#3 src/XF/Template/Templater.php(701): XF\Template\Templater->{closure}(Object(XF\Mail\Templater), Array, Array)
#4 internal_data/code_cache/templates/l1/s27/public/bb_code_tag_attach.php(132): XF\Template\Templater->callMacro('siropu_ads_mana...', 'ad_unit', Array, Array)
#5 src/XF/Template/Templater.php(1315): XF\Template\Templater->{closure}(Object(XF\Mail\Templater), Array)
#6 src/XF/BbCode/Renderer/Html.php(485): XF\Template\Templater->renderTemplate('bb_code_tag_att...', Array)
#7 [internal function]: XF\BbCode\Renderer\Html->renderTagAttach(Array, Array, Array, Array, Object(XF\BbCode\Renderer\EmailHtml))
#8 src/XF/BbCode/Renderer/Html.php(295): call_user_func(Array, Array, Array, Array, Array, Object(XF\BbCode\Renderer\EmailHtml))
#9 src/XF/BbCode/Traverser.php(61): XF\BbCode\Renderer\Html->renderTag(Array, Array)
#10 src/XF/BbCode/Renderer/Html.php(1053): XF\BbCode\Traverser->renderSubTree(Array, Array)
#11 [internal function]: XF\BbCode\Renderer\Html->renderTagSpoiler(Array, 'Old logo, ye sh...', Array, Array, Object(XF\BbCode\Renderer\EmailHtml))
#12 src/XF/BbCode/Renderer/Html.php(295): call_user_func(Array, Array, 'Old logo, ye sh...', Array, Array, Object(XF\BbCode\Renderer\EmailHtml))
#13 src/XF/BbCode/Traverser.php(61): XF\BbCode\Renderer\Html->renderTag(Array, Array)
#14 src/XF/BbCode/Traverser.php(37): XF\BbCode\Traverser->renderSubTree(Array, Array)
#15 src/XF/BbCode/Traverser.php(20): XF\BbCode\Traverser->renderAst(Array, Object(XF\BbCode\RuleSet), Array)
#16 src/XF/SubContainer/BbCode.php(219): XF\BbCode\Traverser->render('The only thing ...', Object(XF\BbCode\Parser), Object(XF\BbCode\RuleSet), Array)
#17 src/XF/Template/Templater.php(2035): XF\SubContainer\BbCode->render('The only thing ...', 'emailHtml', 'post', Object(SV\UserEssentials\XF\Entity\Post), Array)
#18 src/XF/Template/Templater.php(2040): XF\Template\Templater->fnBbCode(Object(XF\Mail\Templater), false, 'The only thing ...', 'post', Object(SV\UserEssentials\XF\Entity\Post), Array, 'emailHtml')
#19 [internal function]: XF\Template\Templater->fnBbCodeType(Object(XF\Mail\Templater), false, 'emailHtml', 'The only thing ...', 'post', Object(SV\UserEssentials\XF\Entity\Post))
#20 src/XF/Template/Templater.php(936): call_user_func_array(Array, Array)
#21 internal_data/code_cache/templates/l1/s27/email/watched_thread_reply.php(17): XF\Template\Templater->func('bb_code_type', Array, false)
#22 src/XF/Template/Templater.php(1315): XF\Template\Templater->{closure}(Object(XF\Mail\Templater), Array)
#23 src/XF/Mail/Mailer.php(155): XF\Template\Templater->renderTemplate('watched_thread_...', Array)
#24 src/XF/Mail/Mail.php(319): XF\Mail\Mailer->renderMailTemplate('watched_thread_...', Array, Object(XF\Language), Object(SV\WhoReplied\XF\Entity\User))
#25 src/XF/Mail/Mail.php(375): XF\Mail\Mail->renderTemplate()
#26 src/XF/Mail/Mail.php(406): XF\Mail\Mail->getSendableMessage()
#27 src/XF/Notifier/Post/AbstractWatch.php(128): XF\Mail\Mail->queue()
#28 src/XF/Service/AbstractNotifier.php(92): XF\Notifier\Post\AbstractWatch->sendEmail(Object(SV\WhoReplied\XF\Entity\User))
#29 src/XF/Service/AbstractNotifier.php(44): XF\Service\AbstractNotifier->notifyType(Object(XF\Notifier\Post\ThreadWatch), Array, G)
#30 src/XF/Service/AbstractNotifier.php(56): XF\Service\AbstractNotifier->notify(3)
#31 src/XF/Service/Thread/Replier.php(219): XF\Service\AbstractNotifier->notifyAndEnqueue(3)
#32 src/XF/Pub/Controller/Thread.php(330): XF\Service\Thread\Replier->sendNotifications()
#33 src/addons/SV/UserEssentials/XF/Pub/Controller/Thread.php(46): XF\Pub\Controller\Thread->finalizeThreadReply(Object(XF\Service\Thread\Replier))
#34 src/XF/Pub/Controller/Thread.php(463): SV\UserEssentials\XF\Pub\Controller\Thread->finalizeThreadReply(Object(XF\Service\Thread\Replier))
#35 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#36 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'AddReply', Object(XF\Mvc\RouteMatch), Object(SV\WhoReplied\XF\Pub\Controller\Thread), NULL)
#37 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\WhoReplied\XF\Pub\Controller\Thread), NULL)
#38 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#39 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#40 src/XF.php(391): XF\App->run()
#41 index.php(20): XF::runApp('XF\\Pub\\App')
#42 {main}
Request state
array(4) {
["url"] => string(47) "/threads/new-website-looks-great.2728/add-reply"
["referrer"] => string(62) "https://www.joyfreak.com/threads/new-website-looks-great.2728/"
["_GET"] => array(0) {
}
["_POST"] => array(9) {
["message_html"] => string(472) "<p>The only thing that I miss is the old JoyFreak logo, but that's a small price to pay. Everything else about the new theme is amazing, and the new logo actually looks really good. However, I still feel nostalgic for the triangle-and-gamepad logo.</p><p><br></p><p></p>"<img src="/attachments/oldjflogo-jpg.686/?hash=3ff00821121aeecdbfc435103d1573f9" style="width: auto;" class="fr-fic fr-dii" data-attachment="full:686">
["attachment_hash"] => string(32) "3ff00821121aeecdbfc435103d1573f9"
["attachment_hash_combined"] => string(86) "{"type":"post","context":{"thread_id":2728},"hash":"3ff00821121aeecdbfc435103d1573f9"}"
["last_date"] => string(10) "1578582276"
["last_known_date"] => string(10) "1578582128"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(38) "/threads/new-website-looks-great.2728/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Any idea what caused this?