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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...