Copied to clipboard

Flag this post as spam?

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

  • Matt 303 posts 725 karma points
    Feb 13, 2020 @ 12:41


    I have a grid editor which I'm testing out, seems to be working ok. My only issue on some pages if the grid editor is not in use I get an error;

    'Umbraco.Web.PublishedModels.GeneralTemplate' does not contain a definition for 'sections'

    @if (Model != null && Model.sections != null)

    But on some pages (using same template) the grid editor can be null and it just shows blank page without an error?

Please Sign in or register to post replies

Write your reply to: