Hi nerds,
One of our live websites got this error today and it blocked the website from being viewed:
The page template in question looks like this:
@inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
@using Dynamicweb.Environment;
@using Advania.Custom.Extensions;
@MasterPageFile("Master/Master_Vite.cshtml")
@{
ExecutingContext context = new ExecutingContext();
bool isVisualEditor = context.IsVisualEditor();
}
@if (isVisualEditor)
{
<grid>
@Model.Grid("grid", "Grid", "", "VueGrid")
</grid>
} else
{
<app></app>
}
Best regards,
Arnór