We are getting errors from a custom macro that we created. As soon as the macro is initiated there is value, however we are getting null errors in the event logs. The macro is a simple boolean...
HelloI have following custom Macro method setup[MacroMethod(typeof(bool), @Comment @, 2)] [MacroMethodParam(0, @id@, typeof(int), @Comment@)] [MacroMethodParam(1, @number@, typeof(int), @Comment@)]...
We are in the long process of upgrading a Kentico site from 8.1 to 11. I can get the site to run fine locally in v8.1. However, after I run the upgrade to 8.2, I get all kinds of macro errors suc...
Hi,We are getting tons of MACRORESOLVER error on one of our pages and I was able to pinpoint where it is coming from. We have a macro in a static html web part like the code below and I can't figur...
We have recently moved to Kentico 10, and in doind so, have been working through cleaning up a number of errors. One that is popping up regularly on the event log is:Security check of the expressio...
Hello everyone I am putting K# in a text filed and kentico is just rendering the macro code. this is the macro i put in {% if (MembershipContext.AuthenticatedUser){return @Welcome@+Membership...
Hello, My team and I upgraded from Kentico 9 -@ 10 (No Hotfixes as of this posting) a little over 2 weeks ago. The site has been running fine until last night when our client contacted us that a re...
I am trying to use String.Contains(URL,@http@), but it is not working. The event log is showing an error saying: Method 'Contains' for object of type 'CMS.MacroEngine.StringNamespace' not found, pl...
Here is my SQL:SELECT ##TOPN## c.ShowPromoContent, c.Promo_1, c.Promo_2, c.Promo_3, p.TitleTextLight,p.TitleTextBold,p.Description,p.Image,p.LinkURL,p.LinkText FROM custom_Collections_Detail_Page c...
Why Macro does not resolve ToInt(tagid, @@). After restarting the app, it's working again for maybe 2 days. Trace below:Error while evaluating expression: ToInt(tagid, @@) Object reference not set ...