Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
HI All I'm getting a null ref error
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage @{ Layout = "Admin.cshtml"; var loginstatusmodel = @Members.GetCurrentLoginStatus(); var currentmember = @Members.GetCurrentMember(); var profilemodel = @Members.GetCurrentMemberProfileModel(); << Null Reference Error }
Stack :
[NullReferenceException: Object reference not set to an instance of an object.] Umbraco.Web.Security.MembershipHelper.GetMemberPropertiesViewModel(IMemberType memberType, IEnumerable`1 builtIns, IMember member) +320 Umbraco.Web.Security.MembershipHelper.GetCurrentMemberProfileModel() +733 ASP._Page_Views_AdminProfile_cshtml.Execute() in c:\inetpub\wwwroot\uMaster\Views\AdminProfile.cshtml:6 System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +279 System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +124 System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +180 Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer) +139 System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +379 System.Web.Mvc.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17() +32 System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +613 System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +613 System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +263 System.Web.Mvc.Async.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult) +240 System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__18(IAsyncResult asyncResult) +28 System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15 System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +53 System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15 System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult) +42 System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +606 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Umbraco 7.2 RC GetCurrentMemberProfileModel Null Ref
HI All I'm getting a null ref error
Stack :
is working on a reply...