We have recently upgraded Kentico from 7 to 9. Everythign mostly works except when we try to create a new page we get this error.
An error occurred when saving data. Please see event log for more details.
Message: Object reference not set to an instance of an object.
Exception type: System.NullReferenceException
Stack Trace:
at CMS.DocumentEngine.VersionManager.SaveVersionInternal(TreeNode node, String versionNumber, String versionComment, String updateColumns, WorkflowInfo forceWorkflow)
at CMS.DocumentEngine.DocumentHelper.UpdateDocument(TreeNode node, TreeProvider tree, String updateColumns)
at CMS.DocumentEngine.TreeNode.Update(Boolean useDocumentHelper)
at CMS.DocumentEngine.VersionManager.EnsureVersionInternal(TreeNode node, Boolean nodeIsPublished, Boolean nodeDeletion, WorkflowInfo forceWorkflow)
at CMS.DocumentEngine.DocumentHelper.InsertDocument(TreeNode node, TreeNode parentNode, TreeProvider tree, Boolean allowCheckOut)
at CMS.FormControls.CMSForm.SaveDataInternal()
at CMS.FormControls.BasicForm.SaveData(String redirectUrlAfterSave, Boolean showChangesSaved)
at CMS.FormControls.CMSForm.DocumentManager_OnSaveData(Object sender, DocumentManagerEventArgs e)
at CMS.FormControls.CMSAbstractManager`2.RaiseSaveData(EventArgsType args)
at CMS.FormControls.CMSDocumentManager.SaveDocumentInternal(String actionContext)