Render Failed for component AFP.Content.Components.ContentPlaceHolder
Parsing error occurred in template 'Page-2-Region-main' -> Object reference not set to an instance of an object.
Content.RazorEngine37
at Content.RazorEngine37.RazorEngineTemplatingService.Parse(String Markup, Object Model, String UniqueKey)
at AFP.Content.WebControls.ContentControl.RenderContent(TemplateContentData Information, ICanvas Parent, Boolean Append)
at AFP.Content.Components.ContentPlaceHolder.oContentRegionControl_ItemDatabound(Object sender, ContentRegionItemEventArgs e)
at CMS.UI.WebControls.ContentRegion.InitialiseControls(ClientInformation oClientInformation)
at CMS.UI.WebControls.ContentRegion.InitRender(ClientInformation ClientInformation)
at AFP.Content.Components.ContentPlaceHolder.Render()
at AFP.Content.WebControls.ContentControl._Lambda$__5(IComponent x)Object reference not set to an instance of an object.
CompiledRazorTemplates.Dynamic.RazorEngine_03772c5a422b4500b53278dc8080ff4f
at CompiledRazorTemplates.Dynamic.RazorEngine_03772c5a422b4500b53278dc8080ff4f.Execute()
at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
at RazorEngine.Templating.RazorEngineServiceExtensions.<>c__DisplayClass4.b__3(TextWriter writer)
at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)
at Content.RazorEngine37.RazorEngineTemplatingService.Parse(String Markup, Object Model, String UniqueKey)