StryGuardian
Active member
I upgraded my forum to 2.1 and disabled most non-essential addons. There are 4 members of the forum right now, as we have not yet promoted the forum. However, all members except one are able to view their alerts. One member, when attempting to view their alerts, receives the "Oops" error message.
This is the server error I get when this happens.
Any ideas?
This is the server error I get when this happens.
Code:
TypeError: Argument 3 passed to XF\Template\Templater::fnReaction() must be of the type array, integer given src/XF/Template/Templater.php:3094
Generated by: Runner Jan 31, 2019 at 9:58 PM
Stack trace
#0 [internal function]: XF\Template\Templater->fnReaction(Object(XF\Template\Templater), true, 2, 'alert')
#1 src/XF/Template/Templater.php(915): call_user_func_array(Array, Array)
#2 internal_data/code_cache/templates/l1/s9/public/alert_profile_post_react.php(12): XF\Template\Templater->fn('reaction', Array, true)
#3 src/XF/Template/Templater.php(1294): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array)
#4 src/XF/Alert/AbstractHandler.php(80): XF\Template\Templater->renderTemplate('alert_profile_p...', Array)
#5 src/XF/Entity/UserAlert.php(69): XF\Alert\AbstractHandler->render(Object(XF\Entity\UserAlert))
#6 [internal function]: XF\Entity\UserAlert->render()
#7 src/XF/Template/Templater.php(978): call_user_func_array(Array, Array)
#8 internal_data/code_cache/templates/l1/s9/public/alert_macros.php(18): XF\Template\Templater->method(Object(XF\Entity\UserAlert), 'render', Array)
#9 src/XF/Template/Templater.php(694): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Array)
#10 internal_data/code_cache/templates/l1/s9/public/account_alerts_popup.php(18): XF\Template\Templater->callMacro('alert_macros', 'row', Array, Array)
#11 src/XF/Template/Templater.php(1294): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array)
#12 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('account_alerts_...', Array)
#13 src/XF/Mvc/Renderer/Json.php(84): XF\Template\Template->render()
#14 src/XF/Mvc/Renderer/Json.php(68): XF\Mvc\Renderer\Json->renderHtmlFallback('XF:Account\\Aler...', 'public:account_...', Array)
#15 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Json->renderView('XF:Account\\Aler...', 'public:account_...', Array)
#16 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#17 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#18 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#19 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#20 src/XF.php(390): XF\App->run()
#21 index.php(20): XF::runApp('XF\\Pub\\App')
#22 {main}
Request state
array(4) {
["url"] => string(145) "/account/alerts-popup?_xfRequestUri=%2F&_xfWithData=1&_xfToken=1548993459%2Cf5591359ca40d749dbeafaf37e8a49ce&_xfResponseType=json&_=1548993459739"
["referrer"] => string(23) "https://flixforums.com/"
["_GET"] => array(5) {
["_xfRequestUri"] => string(1) "/"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(43) "1548993459,f5591359ca40d749dbeafaf37e8a49ce"
["_xfResponseType"] => string(4) "json"
["_"] => string(13) "1548993459739"
}
["_POST"] => array(0) {
}
}
Any ideas?