Error executing template "Designs/ksn/Paragraph/Image and text (left-right).cshtml"System.NullReferenceException: Object reference not set to an instance of an object.at Co3.Espresso.Website.Models.FrontEnd.Elements.ResponsiveInfo.ToCssClasses(String prefix) in C:\Projects\espresso\Co3.Espresso.Website\Models\FrontEnd\Elements\ResponsiveInfo.cs:line 20at Co3.Espresso.Website.Models.FrontEnd.Paragraphs.ImageTextLeftRightModel..ctor(Paragraph paragraph, Item dynamicwebItem) in C:\Projects\espresso\Co3.Espresso.Website\Models\FrontEnd\Paragraphs\ImageTextLeftRightModel.cs:line 16at Co3.Espresso.Website.TemplateBases.Paragraphs.ImageTextLeftRight..ctor() in C:\Projects\espresso\Co3.Espresso.Website\TemplateBases\Paragraphs\ImageTextLeftRight.cs:line 20at CompiledRazorTemplates.Dynamic.RazorEngine_30e9380b49f140ba8ee25e26ac8a8b93..ctor() in C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp\RazorEngine_imko1mp5.dqe\CompiledRazorTemplates.Dynamic.RazorEngine_30e9380b49f140ba8ee25e26ac8a8b93.cs:line 0at lambda_method(Closure )at RazorEngine.Templating.RazorEngineCore.CreateTemplate(ICompiledTemplate template, Object model, DynamicViewBag viewbag)at RazorEngine.Templating.RazorEngineCore.RunTemplate(ICompiledTemplate template, TextWriter writer, Object model, DynamicViewBag viewBag)at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)at RazorEngine.Templating.RazorEngineServiceExtensions.<>c__DisplayClass16_0.b__0(TextWriter writer)at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)at Dynamicweb.Rendering.Template.RenderRazorTemplate()
1 @using Co3.Espresso.Website.Services 2 @inherits Co3.Espresso.Website.TemplateBases.Paragraphs.ImageTextLeftRight 3 4 <div class="@Espresso.Container.Classes" id="@Espresso.Id"> 5 <div class="@Espresso.Wrapper.Classes"> 6 <div class="@Espresso.Text.Container.Classes"> 7 @Espresso.Text.Raw 8 @GetValue("ParagraphModule") 9 </div> 10 <div class="@Espresso.Image.Container.Classes"> 11 @if ( Espresso.Image.URL != "" ) { 12 <div class="row"> 13 <p class="@Espresso.Image.Wrapper.Classes"> 14 @if ( Espresso.Image.Link.URL != "" ) { 15 <a href="@Espresso.Image.Link.URL" @( Espresso.Image.Link.OpenInNewWindow == true ? "target=\"_blank\"" : "" )> 16 <img src="@Espresso.Image.URL" class="@Espresso.Image.Classes" alt="@Espresso.Image.AltText"> 17 </a> 18 } 19 else { 20 <img src="@Espresso.Image.URL" class="@Espresso.Image.Classes" alt="@Espresso.Image.AltText"> 21 } 22 </p> 23 </div> 24 } 25 </div> 26 </div> 27 </div> 28 29
keyboard_arrow_up