Copied to clipboard

Flag this post as spam?

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


  • Matt 353 posts 825 karma points
    Feb 13, 2020 @ 12:41
    Matt
    0

    Hi,

    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:

Draft