)]}',
{"Message":"An error has occurred.","ExceptionMessage":"Value cannot be null.\r\nParameter name: contentType","ExceptionType":"System.ArgumentNullException","StackTrace":" at Umbraco.Core.Mandate.That[TException](Boolean condition, Func`1 defer)\r\n at Umbraco.Core.Models.ContentBase..ctor(String name, Int32 parentId, IContentTypeComposition contentType, PropertyCollection properties)\r\n at Umbraco.Core.Models.Content..ctor(String name, Int32 parentId, IContentType contentType, PropertyCollection properties)\r\n at Umbraco.Core.Models.Content..ctor(String name, Int32 parentId, IContentType contentType)\r\n at Umbraco.Core.Persistence.Factories.ContentFactory.BuildEntity(DocumentDto dto)\r\n at Umbraco.Core.Persistence.Repositories.ContentRepository.CreateContentFromDto(DocumentDto dto, Guid versionId)\r\n at Umbraco.Core.Persistence.Repositories.ContentRepository.PerformGet(Int32 id)\r\n at Umbraco.Core.Persistence.Repositories.RepositoryBase`2.Get(TId id)\r\n at Umbraco.Core.Persistence.Repositories.ContentRepository.d__24.MoveNext()\r\n at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()\r\n at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)\r\n at Umbraco.Web.Trees.ContentTreeControllerBase.GetTreeNodes(String id, FormDataCollection queryStrings)\r\n at Umbraco.Web.Trees.TreeControllerBase.GetNodes(String id, FormDataCollection queryStrings)\r\n at Umbraco.Web.Trees.ApplicationTreeExtensions.TryLoadFromControllerTree(ApplicationTree appTree, String id, FormDataCollection formCollection, HttpControllerContext controllerContext)\r\n at Umbraco.Web.Trees.ApplicationTreeController.d__17.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n at Umbraco.Web.Trees.ApplicationTreeController.d__4.MoveNext()"}
I know that in Umbraco 7.1.5 or 7.1.6 something was fixed with deleting doc types. So try upgrading to the latest version to see if you still have the error.
Thanks- yes I deleted the last doctypes in db amd everything worked fine again. I think the problem was that I deleted a doctype with at parent doctype so the refrence was never deleted in db.
Error in backend after deleting doctypes
Hi Kenneth and welcome to our :)
Did you manage to figure out a solution for this issue?
/Jan
Hello,
I know that in Umbraco 7.1.5 or 7.1.6 something was fixed with deleting doc types. So try upgrading to the latest version to see if you still have the error.
Jeroen
Hey Jan/ Jeroen
Thanks- yes I deleted the last doctypes in db amd everything worked fine again. I think the problem was that I deleted a doctype with at parent doctype so the refrence was never deleted in db.
I will look into updating in near future :)
- Kenneth
is working on a reply...