System.ArgumentNullException: Value cannot be null.
Parameter name: mediaItem
   at Umbraco.Web.ImageCropperTemplateCoreExtensions.GetCropUrl(IPublishedContent mediaItem, IImageUrlGenerator imageUrlGenerator, Nullable`1 width, Nullable`1 height, String propertyAlias, String cropAlias, Nullable`1 quality, Nullable`1 imageCropMode, Nullable`1 imageCropAnchor, Boolean preferFocalPoint, Boolean useCropDimensions, Boolean cacheBuster, String furtherOptions, Nullable`1 ratioMode, Boolean upScale) in D:\a\1\s\src\Umbraco.Web\ImageCropperTemplateCoreExtensions.cs:line 121
   at Umbraco.Web.ImageCropperTemplateCoreExtensions.GetCropUrl(IPublishedContent mediaItem, String cropAlias, IImageUrlGenerator imageUrlGenerator) in D:\a\1\s\src\Umbraco.Web\ImageCropperTemplateCoreExtensions.cs:line 28
   at Umbraco.Web.ImageCropperTemplateExtensions.GetCropUrl(IPublishedContent mediaItem, String cropAlias) in D:\a\1\s\src\Umbraco.Web\ImageCropperTemplateExtensions.cs:line 32
   at ASP._Page_app_plugins_insightbannerwidget_views_heroview_cshtml.Execute()
   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
   at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)
   at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)
   at Umbraco.Web.Mvc.ProfilingView.Render(ViewContext viewContext, TextWriter writer) in D:\a\1\s\src\Umbraco.Web\Mvc\ProfilingView.cs:line 25
   at System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter writer, ViewEngineCollection viewEngineCollection)
   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)
   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model)
   at ASP._Page_Views_Partials_grid_editors_Base_cshtml.Execute()

Norwegian news

Swedish news