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
Has anyone started getting a problem after upgrading from 4.10.0 ?
I receive "The type initializer for 'Examine.ExamineManager' threw an exception" on code that worked on 4.10.0,
se below, i extraced the value out to a variable for debugging purposes (x), the error occurs when converting node to Media.
@{
var imageSlides = umbraco.uQuery.GetNode(-1).GetDescendantNodesByType("SlideShowImage").ToList();
foreach (var doc in imageSlides ) { var x = doc.GetProperty("slideImage").Value; var m = new umbraco.MacroEngines.DynamicNode(int.Parse(x));
@:<img src="@m.NiceUrl?width=942&height=350&scale=both" data-thumb="@m.NiceUrl" alt="@doc.GetProperty("imageTitle").Value" title="@doc.GetProperty("imageText").Value"/>
}
/Tommy
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Error in Examine after upgrading from 4.10.0 to 4.10.1
Has anyone started getting a problem after upgrading from 4.10.0 ?
I receive "The type initializer for 'Examine.ExamineManager' threw an exception" on code that worked on 4.10.0,
se below, i extraced the value out to a variable for debugging purposes (x), the error occurs when converting node to Media.
@{
var imageSlides = umbraco.uQuery.GetNode(-1).GetDescendantNodesByType("SlideShowImage").ToList();
foreach (var doc in imageSlides )
{
var x = doc.GetProperty("slideImage").Value;
var m = new umbraco.MacroEngines.DynamicNode(int.Parse(x));
@:<img src="@m.NiceUrl?width=942&height=350&scale=both" data-thumb="@m.NiceUrl" alt="@doc.GetProperty("imageTitle").Value" title="@doc.GetProperty("imageText").Value"/>
}
/Tommy
is working on a reply...