Free delivery on orders over €70*

Free delivery on orders over €70*

MENU
0
Exception in template (Designs/Robens/Paragraph/ArticleRibbonItem.cshtml): System.NullReferenceException: Object reference not set to an instance of an object.
   at CompiledRazorTemplates.Dynamic.acaacecafbaefaea.Execute()
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context) in c:\Users\abbottm\Documents\GitHub\RazorEngine\src\Core\RazorEngine.Core\Templating\TemplateBase.cs:line 126
   at RazorEngine.Templating.TemplateService.Run(ITemplate template, DynamicViewBag viewBag) in c:\Users\abbottm\Documents\GitHub\RazorEngine\src\Core\RazorEngine.Core\Templating\TemplateService.cs:line 608
   at RazorEngine.Templating.TemplateService.Parse(String razorTemplate, Object model, DynamicViewBag viewBag, String cacheName) in c:\Users\abbottm\Documents\GitHub\RazorEngine\src\Core\RazorEngine.Core\Templating\TemplateService.cs:line 439
   at RazorEngine.Razor.Parse[T](String razorTemplate, T model, DynamicViewBag viewBag, String cacheName) in c:\Users\abbottm\Documents\GitHub\RazorEngine\src\Core\RazorEngine.Core\Razor.cs:line 290
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()
@using Dynamicweb.Extensibility; @using Dynamicweb.Frontend; @using Dynamicweb.Rendering; @using OaseOutdoors.Components.Shared.Paragraphs.ArticleRibbon.ModelBuilders @using OaseOutdoors.Services.ImageService.Enums @inherits ViewModelTemplate<ParagraphViewModel> @{ var viewModelService = new ArticleRibbonViewModelBuilder(); var viewModel = viewModelService.GetViewModel(Model); } <section class="article container-ribbon ribbon"> <div class="container"> @if (!string.IsNullOrEmpty(viewModel.Headline)) { <h1>@viewModel.Headline</h1> } @if (viewModel.Image != null) { <img class="@viewModel.ImagePosition.ToLower()" src="@viewModel.Image.SetWidth(1260).SetCompression(80).SetCrop(CropType.KeepAspectRatio).GetCrop()" alt="@viewModel.ImageAltText" title="@viewModel.ImageAltText" /> } @if (!string.IsNullOrEmpty(viewModel.SubHeadline)) { <div class="article__content"><h2>@viewModel.SubHeadline</h2></div> } @if (!string.IsNullOrEmpty(viewModel.BodyText)) { <div class="article__content">@viewModel.BodyText</div> } @viewModel.ParagraphModule </div> </section>

Customer Service

How can we help you?

Product - Faqs

Webshop - FAQs