Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Dexter_X Posted October 3, 2021 Posted October 3, 2021 (edited) Hi, Sometimes, when we set an answer as the solution for a topic, we've this error call-stack message : Error: Call to a member function addToStack() on null (0) #0 /home/super5/public_html/system/Email/Email.php(925): IPS\Theme\email_html_core_notification_new_badge(Object(IPS\Member), Object(IPS\core\Achievements\Badge), Object(IPS\Email\Outgoing\Smtp)) #1 /home/super5/public_html/system/Email/Email.php(350): IPS\_Email::template('core', 'notification_ne...', 'html', Array) #2 /home/super5/public_html/system/Email/Email.php(848): IPS\_Email->compileContent('html', Object(IPS\Member), Object(IPS\Lang)) #3 /home/super5/public_html/system/Notification/Notification.php(925): IPS\_Email->mergeAndSend(Array, NULL, NULL, Array, Object(IPS\Lang)) #4 /home/super5/public_html/system/Notification/Notification.php(905): IPS\_Notification->sendEmails(Array, Array) #5 /home/super5/public_html/system/Member/Member.php(6027): IPS\_Notification->send() #6 /home/super5/public_html/system/Member/Member.php(5921): IPS\_Member->awardBadge(Object(IPS\core\Achievements\Badge), 531952, 23, Array, 0, NULL) #7 /home/super5/public_html/applications/forums/sources/Topic/Topic.php(1341): IPS\_Member->achievementAction('forums', 'AnswerMarkedBes...', Object(IPS\forums\Topic\Post)) #8 /home/super5/public_html/system/Content/Controller.php(2046): IPS\forums\_Topic->toggleSolveComment('801814', true) #9 /home/super5/public_html/system/Dispatcher/Controller.php(90): IPS\Content\_Controller->solve() #10 /home/super5/public_html/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute() #11 /home/super5/public_html/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute() #12 /home/super5/public_html/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\front\forums\_topic->execute() #13 /home/super5/public_html/index.php(13): IPS\_Dispatcher->run() #14 {main} It seems linked only with the e-mail notification because the user got his badge and corresponding points. PM contact for detailed information into our community. Edited October 4, 2021 by Dexter_X
Marc Posted October 4, 2021 Posted October 4, 2021 Before we look further into this, could I confirm if you have any modified email templates? If so, please revert these to there default state and test this again. Also, please disable all 3rd party items and test with a default unaltered theme. With regards access details, please update these in your client area. Do not send via the pm system
Solution Stuart Silvester Posted October 4, 2021 Solution Posted October 4, 2021 We've got a fix for this issue coming in 4.6.7. You're absolutely correct, it's an issue with generating the email notification to let the member know that they've been awarded a new badge. SeNioR-, Marc and Dexter_X 2 1
Recommended Posts