Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am completely new to Umbraco and I just created several new Content Nodes where I am trying to follow a sitemap. Now I get the following error:
Object reference not set to an instance of an object
@{ Layout = "master.cshtml"; var backgroundImage = Model.HeroBackgroundImage != null ? Model.HeroBackgroundImage.Url : String.Empty; }
I began with the starterkit and now trying to go alone. Can anyone help me?
Hi Joshua
Can you show all the code? It looks like Model is null in your code.
Thanks,
Alex
I solved the problem. Thank you.
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.
Continue discussion
Object reference not set to an instance of an object
I am completely new to Umbraco and I just created several new Content Nodes where I am trying to follow a sitemap. Now I get the following error:
Object reference not set to an instance of an object
I began with the starterkit and now trying to go alone. Can anyone help me?
Hi Joshua
Can you show all the code? It looks like Model is null in your code.
Thanks,
Alex
I solved the problem. Thank you.
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.