Copied to clipboard

Flag this post as spam?

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


  • xzuttz 9 posts 29 karma points
    Jan 14, 2014 @ 13:45
    xzuttz
    0

    Cultiv_Search_Engine_Sitemap_(Razor_edition)_1.0.2.zip RAZOR error

    When installing the package on Umbraco v6.1.5 (Assembly version: 1.0.4993.19246) and accesing the sitemap through

    http://www.yourdomain.com/cultivsearchenginesitemap it gives a Razor error.

    To fix this issue, following code needs to be changed:

     if (node.Level <= maxLevelForSiteMap && node.ChildrenAsList.Count > 0)

    To

            if (node.Level <= maxLevelForSiteMap && node.ChildrenAsList.Count() > 0)

     

  • ismail hamzah 5 posts 24 karma points
    Dec 30, 2014 @ 06:46
    ismail hamzah
    0

    hello,

    i'm facing the same error. change the macro code as per your suggestion solve the problem.

    i'm using Umbraco 7.2.1

Please Sign in or register to post replies

Write your reply to:

Draft