Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I've upgraded an old project from version 6.1.6 to 6.2.5 but I'm now getting the above error in several places.
Any ideas on what could be causing this would be greatly appreciated as I've been stuck on it for hours!
Thanks
An example of part of the stack trace is below:
[MissingMethodException: Method not found: 'System.Collections.Generic.IEnumerable`1<Umbraco.Core.Models.IPublishedContent> Umbraco.Web.PublishedContentExtensions.Where(System.Collections.Generic.IEnumerable`1<Umbraco.Core.Models.IPublishedContent>, System.Func`2<Umbraco.Core.Models.IPublishedContent,Boolean>)'.] Our.Umbraco.PropertyEditorConverters.MultiNodeTreePickerPropertyEditorValueConverter.ConvertPropertyValue(Object value) +0 Umbraco.Core.Models.PublishedContent.CompatConverter.ConvertDataToSource(PublishedPropertyType propertyType, Object source, Boolean preview) +31 Umbraco.Web.PublishedCache.XmlPublishedCache.XmlPublishedProperty.<.ctor>b__0() +39 System.Lazy`1.CreateValue() +411 System.Lazy`1.LazyInitValue() +152 System.Lazy`1.get_Value() +75 Umbraco.Web.PublishedCache.XmlPublishedCache.XmlPublishedProperty.<.ctor>b__1() +20 System.Lazy`1.CreateValue() +411 System.Lazy`1.LazyInitValue() +152 System.Lazy`1.get_Value() +75 Umbraco.Web.PublishedCache.XmlPublishedCache.XmlPublishedProperty.get_Value() +9 Umbraco.Web.PublishedPropertyExtension.GetValue(IPublishedContentProperty property, Boolean withDefaultValue, T defaultValue) +73 Umbraco.Web.PublishedContentExtensions.GetPropertyValue(IPublishedContent content, String alias, Boolean recurse, Boolean withDefaultValue, T defaultValue) +82 Umbraco.Web.PublishedContentExtensions.GetPropertyValue(IPublishedContent content, String alias) +59
Hi Shane,
In order for us to be able to help you further, do you have an example of the line of code where the error is occurring?
Thanks, Dan.
Thanks for the response but I've backed out the upgrade as it was taking too much time.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Method not found: 'System.Collections.Generic.IEnumerable`1<Umbraco.Core.Models.IPublishedContent>
Hi,
I've upgraded an old project from version 6.1.6 to 6.2.5 but I'm now getting the above error in several places.
Any ideas on what could be causing this would be greatly appreciated as I've been stuck on it for hours!
Thanks
An example of part of the stack trace is below:
Hi Shane,
In order for us to be able to help you further, do you have an example of the line of code where the error is occurring?
Thanks, Dan.
Thanks for the response but I've backed out the upgrade as it was taking too much time.
is working on a reply...