The application is in an unstable state and should be restarted.
I'm trying to implement the Block List on a website but I get this error:
Cannot bind source type Umbraco.Web.PublishedModels.Frontpage to model type Umbraco.Web.PublishedModels.BlockImageGrid. Both view and content models are PureLive, with same version. The application is in an unstable state and should be restarted.
The application is in an unstable state and should be restarted.
I'm trying to implement the Block List on a website but I get this error:
My template looks like this:
And my partial looks like this:
What the heck am I doing wrong ?
Hi Sebastian,
I think the error message is confusing and hides the actual issue.
In your partial view you need to do this :
This because a block list item can have 2 doctypes associated. A content and a settings one.
See https://our.umbraco.com/Documentation/Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/Block-List-Editor/#1-default-rendering
Dave
Hi Dave
Yeah, that looks like it could lead to trouble :)
But I did find another solution. A good friend of mine pointed me in the direction of casting to the BlockImageGrid model, like this
This solved my problems. But thanks for the input
is working on a reply...