<cfif ISDEFINED("CALLER.VARIABLES.STRFUNCNAME")>
<cfparam name="strFuncName" default="#EVALUATE(CALLER.VARIABLES.STRFUNCNAME)#" />
<cfelse>
<cfparam name="strFuncName" default="" />
</cfif>
This code is in one of our CustomTags and is throwing an error on the EVALUATE line. I’m not sure how that’s even possible.
I can do this from the calling page to see that the variable is defined:
<cfset VARIABLES.strFuncName = "strFuncName#intModule#"> <!--- intModule = 1188 --->
#VARIABLES.strFuncName#: #EVALUATE(VARIABLES.strFuncName)# <!--- strFuncName1188: Main --->
<CF_CUSTOMTAG> <!--- Tell me Variable strFuncName1188 is undefined. --->
Change your code to this: