Copied to clipboard

Flag this post as spam?

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

  • Alexander Cofin 2 posts 71 karma points
    Jan 23, 2018 @ 13:30
    Alexander Cofin

    RankOne HTML.Partial causing issues on Pages

    Hi - Relatively new to Umbraco and working with its plugins. I thought I had followed the installation instructions correctly for this one but it seems to be throwing an error due to the placement of the HTML.Partial leading to the error :"System.NullReferenceException: Object reference not set to an instance of an object at ASP.PageViewsPartialsRankOne_SeoPropertiescshtml.Execute() in d:\home\site\wwwroot\Views\Partials\RankOne - Seo Properties.cshtml:line 3"

    Below images are the returns from each page that is throwing an error: enter image description here

    enter image description here

    I had the HTML.partial call in my main layout template in the header before any other Meta tags that might occur. Any reason why other pages would load correctly and not these?

    One thought is that I did not load the composition for the RankOne on these two pages, is that what could be throwing the null error?

Please Sign in or register to post replies

Write your reply to: