Jump to content

Award management error when trying to set a topic as solved


Go to solution Solved by Stuart Silvester,

Recommended Posts

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 by Dexter_X
Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...