Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • samtsejerome 1 post 71 karma points
    May 03, 2021 @ 17:02
    samtsejerome
    0

    newbie question - error starting out!?

    hi all, I just installed and ran umbraco 8 locally via vscode, and to begin familiarising I tried to add myself to the people page on the local demo site, I added myself via create person, with a little text and a photo, did save and publish, but whrn I losd the people page outside of the backoffice, I get an error! surely editing content in the demo site shouldn't lead to an error page!? ) the error I'm getting is: [NullReferenceException: Object reference not set to an instance of an object.] here:

    Line 29:

    Line 30: @foreach (ContentModels.Person person in Model.Children) Line 31: { Line 32: Line 33:

    presumably this is a naive newbie error, could someone illuminate what I've done wrong so I can continue exploring..?

    Thanks.

  • Huw Reddick 1737 posts 6077 karma points MVP c-trib
    May 03, 2021 @ 19:32
    Huw Reddick
    0

    can't think why that would happen, if you remove the person you added does the page work?

Please Sign in or register to post replies

Write your reply to:

Draft