@Model.FooterDescription not set to an instance of an object
Hello,
I've been having trouble getting even just a new install of 8.7.0 Umbraco up and running. Whether I publish content manually myself, or try to publish "The Starter Kit" package out of the box, I'm getting this:
I obviously have a description in my footer; I tried removing the description, no luck.
So okay fine, maybe its some weird known issue. I tried removing the FooterDescription from the home.cshtml. That then gives me:
Okay... maybe its the entire footer. Remove the header as well and:
Here's where I've stopped. Like I said, this has happened on 3 clean installs, whether I use CE or a full SQL server instance. I've tried this on a Windows 10 machine and on Windows '16. I'm out of ideas here. Any help would be appreciated.
@Model.FooterDescription not set to an instance of an object
Hello,
I've been having trouble getting even just a new install of 8.7.0 Umbraco up and running. Whether I publish content manually myself, or try to publish "The Starter Kit" package out of the box, I'm getting this:
I obviously have a description in my footer; I tried removing the description, no luck.
So okay fine, maybe its some weird known issue. I tried removing the FooterDescription from the home.cshtml. That then gives me:
Okay... maybe its the entire footer. Remove the header as well and:
Here's where I've stopped. Like I said, this has happened on 3 clean installs, whether I use CE or a full SQL server instance. I've tried this on a Windows 10 machine and on Windows '16. I'm out of ideas here. Any help would be appreciated.
Is it possible that Models Builder isn't enable for some reason on the install?
I'm not seeing that option; I don't customize the install at all, just unzip into a directory and let it do its thing...
It looks like in later versions it may be set to false by default in the web.config: https://our.umbraco.com/documentation/reference/templating/modelsbuilder/configuration
Doing a null check in your view is always a good safety check but what you're doing should be working.
Contrary to those docs, I just downloaded the files for 8.7.0 and its set to true but maybe worth checking anyway.
You may want to check for "null" on the FooterCtaLink first :)
I've got a Cta link set, but are you saying I should be doing this in the view? I'm just dumbfounded why the out-of-the-box install blows up...
People "test" stuff before a release?
That's some ideal world! - Can I go there?
Incidentally have you tried removing each @Model field in the view to determine which one is actually BLOWING up the view.
I pretty certain that either the link is NULL, or there is a Typo in the View
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.