Error executing template "Designs/skydebaneforeningen/Paragraph/Tile.cshtml"System.NullReferenceException: Object reference not set to an instance of an object.at Co3.Espresso.Website.Models.FrontEnd.Elements.ResponsiveInfo.ToCssClasses(String prefix)at Co3.Espresso.Website.Models.FrontEnd.Paragraphs.TileModel..ctor(Paragraph paragraph, Item dynamicwebItem)at Co3.Espresso.Website.TemplateBases.Paragraphs.Tile..ctor()at CompiledRazorTemplates.Dynamic.RazorEngine_c13ed6d214c2493d82b517569fc51804..ctor()at 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 @inherits Co3.Espresso.Website.TemplateBases.Paragraphs.Tile 2 3 4 <div class="@Espresso.Container.Classes" id="@Espresso.Id" @( string.IsNullOrEmpty( Espresso.Item.BackgroundColorCustom ) == false ? "style=\"background:" + Espresso.Item.BackgroundColorCustom + "\"" : "" )> 5 <div class="p-tile-container"> 6 7 @if ( Espresso.Image.URL != "" ) 8 { 9 <div class="@Espresso.Image.Container.Classes"> 10 <div class="@Espresso.Image.Classes" style="background-image: url(@Espresso.Image.URL);" title="@Espresso.Image.TitleText"> 11 </div> 12 </div> 13 } 14 15 <div class="@Espresso.Text.Container.Classes"> 16 @if ( Espresso.Item.Text != "" ) 17 { 18 <div class="container-fluid"> 19 <div class="p-txt-wrapper row"> 20 <div class="@Espresso.Item.TextWidth"> 21 @Espresso.Item.Text 22 </div> 23 </div> 24 </div> 25 } 26 </div> 27 28 </div> 29 </div> 30 31