Copied to clipboard

Flag this post as spam?

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


  • Solomon Shaffer 12 posts 75 karma points
    Feb 18, 2016 @ 17:06
    Solomon Shaffer
    0

    "Cannot invoke a non-delegate type" error after 7.4.0 upgrade

    After recently upgrading to version 7.4.0, I am getting some runtime errors in my razor that was working fine previously.

    Umbraco.Content(1272).Children("NewsItem").Where("Visible").OrderBy("DisplayDate desc").ToList();
    

    Throws a "Cannot invoke a non-delegate type" error when I try to specify a doc type in the Children.

    Umbraco.Content(1272).Children().Where("Visible").OrderBy("DisplayDate desc").ToList();
    

    works fine (minus the .ToList() which I seem to have lost as well).

    Any thoughts?

  • Stephen 767 posts 2273 karma points c-trib
    Mar 09, 2016 @ 10:23
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies