Copied to clipboard

Flag this post as spam?

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


  • MaxD23 5 posts 72 karma points
    Aug 05, 2017 @ 15:12
    MaxD23
    0

    Umbraco.Core.Models.PublishedContent.PublishedContentEnumerable' does not contain a definition for 'Split'

    Hello,

    I have upgraded sucessfully a site from 7.2.6 to 7.5.14 but when upgrading to 7.6, things get nasty.

    Line 19: @if (CurrentPage.HasValue("carouselItems")) {
    Line 20:     var itemIds = CurrentPage.CarouselItems.Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries);
    Line 21:     var carouselItems = Umbraco.Media(itemIds);
    

    Does anyone can point me where to look?

    Thank you

Please Sign in or register to post replies

Write your reply to:

Draft