DNN ver 5.6.7
If I edit the content of ANY HTML module on my page I get the message "red circle with an X" on my site with the message
"A critical error has occurred.
Object reference not set to an instance of an object."
Refreshing the page doesn't remove the error, but if I open the same page in a different browser tab, I don't see the error. Caching Duration is set to 0, and Workflow is set to Direct Publish. I'm not using any custom modules, so I don't have any UpdatePanels.
I see two errors in the event log:
General Exception
InnerException:Method not found: 'Void DotNetNuke.Services.Messaging.MessagingController.SaveMessage(DotNetNuke.Services.Messaging.Data.Message)'.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Html.HtmlTextController.CreateUserNotifications
StackTrace:
Message: System.MissingMethodException: Method not found: 'Void DotNetNuke.Services.Messaging.MessagingController.SaveMessage(DotNetNuke.Services.Messaging.Data.Message)'. at DotNetNuke.Modules.Html.HtmlTextController.CreateUserNotifications(HtmlTextInfo objHtmlText) at DotNetNuke.Modules.Html.HtmlTextController.UpdateHtmlText(HtmlTextInfo htmlContent, Int32 MaximumVersionHistory) at DotNetNuke.Modules.Html.EditHtml.cmdSave_Click(Object sender, EventArgs e)
Page Load Exception
Method: DotNetNuke.UI.Skins.Skin.AddModuleMessage
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.Skins.Skin.AddModuleMessage(Control objControl, String Heading, String Message, ModuleMessageType objModuleMessageType, String IconSrc) at DotNetNuke.UI.Skins.Skin.AddModuleMessage(Control objControl, String Heading, String Message, ModuleMessageType objModuleMessageType) at DotNetNuke.Modules.Html.EditHtml.cmdSave_Click(Object sender, EventArgs e) at DotNetNuke.UI.WebControls.CommandButton.OnButtonClick(EventArgs e) at DotNetNuke.UI.WebControls.CommandButton.RaiseClick(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Any help is appreciated