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
So im using ModelsBuilderApi to build the models into my code project, and from here i also have my own partial classes so that I can extend these.
In my extended class when i do this : UmbracoContext.Current.ContentCache.GetById
I get this error: "ValueFactory tried to get access to the property Value".
I cannot find anything on google, and i have been hitting this error for some time now.
Im running 7.6.4, its my first time using Modelsbuilder so thinking its something here or with the 7.6.4 version. Any ideas?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
ContentCache.GetById throws wierd "ValueFactory" error
So im using ModelsBuilderApi to build the models into my code project, and from here i also have my own partial classes so that I can extend these.
In my extended class when i do this : UmbracoContext.Current.ContentCache.GetById
I get this error: "ValueFactory tried to get access to the property Value".
I cannot find anything on google, and i have been hitting this error for some time now.
Im running 7.6.4, its my first time using Modelsbuilder so thinking its something here or with the 7.6.4 version. Any ideas?
is working on a reply...