Copied to clipboard

Flag this post as spam?

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


  • Matt 256 posts 667 karma points
    1 week ago
    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