YAFLogo

huyhk
  • huyhk
  • 55.4% (Neutral)
  • YAF Camper Topic Starter
15 years ago
I got another error after upgrading: I can not suspend user using Moderation tab in user profile.

Actually, the suspenssion saved to database, but after clicking on Suspend button, I got an error page


Server Error in '/' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: 


[NullReferenceException: Object reference not set to an instance of an object.]
   YAF.Controls.MessagePostData.get_Signature() +79
   YAF.Controls.MessagePost.OnPreRender(EventArgs e) +31
   YAF.Controls.MessagePostData.OnPreRender(EventArgs e) +387
   System.Web.UI.Control.PreRenderRecursiveInternal() +107
   System.Web.UI.Control.PreRenderRecursiveInternal() +223
   System.Web.UI.Control.PreRenderRecursiveInternal() +223
   System.Web.UI.Control.PreRenderRecursiveInternal() +223
   System.Web.UI.Control.PreRenderRecursiveInternal() +223
   System.Web.UI.Control.PreRenderRecursiveInternal() +223
   System.Web.UI.Control.PreRenderRecursiveInternal() +223
   System.Web.UI.Control.PreRenderRecursiveInternal() +223
   System.Web.UI.Control.PreRenderRecursiveInternal() +223
   System.Web.UI.Control.PreRenderRecursiveInternal() +223
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3393

Viewing the profile of suspended user, I saw that the suspension data was applied. ANd I got the same error when clicking on Remove suspension.

No error when suspending user in Admin CP.

How can I fix this problem?

Sponsor