Zrinity is the leader in enterprise-class email marketing
management solutions and content management solutions for marketing professionals and developers worldwide.
Getting the CFX Google tag to work on ColdFusion MX
If your getting an error message such as this one:
You have attempted to dereference a scalar variable of type class java.lang.String as a structure with members.
Simply place the following code above your call to the CFX_Google tag:
<cfset google = StructNew()>
Additional Error Messages:
coldfusion.runtime.ScopeCastException: You have attempted to dereference a scalar variable of type class java.lang.String as a structure with members. at coldfusion.runtime.Cast._Map(Cast.java:860) at coldfusion.runtime.NeoPageContext.SymTab_setValidSimpleNameIfNonexistent(NeoPageContext.java:1007) at coldfusion.runtime.NeoPageContext.SymTab_getMapFromSimpleValidName(NeoPageContext.java:985) at coldfusion.runtime.NeoPageContext.SymTab_setValidatedSplitNameInString(NeoPageContext.java:1051) at coldfusion.runtime.NeoPageContext.SymTab_setValidatedDottedName(NeoPageContext.java:1127) at coldfusion.runtime.NeoPageContext.setValidatedAttribute(NeoPageContext.java:408) at coldfusion.runtime.NeoPageContext.setAttribute(NeoPageContext.java:276) at coldfusion.runtime.CfJspPage._set(CfJspPage.java:229) at coldfusion.compiler.ExprClassLoader.set(ExprClassLoader.java:225) at coldfusion.runtime.CFPage.SetVariable(CFPage.java:4703) at coldfusion.tagext.CfxTagBase.setVariable(CfxTagBase.java:202) at CFX_Google.processRequest(CFX_Google.java:86) at coldfusion.tagext.CfxTag.doStartTag(CfxTag.java:99) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1871) at cfsearch2ecfm1987393115.runPage(/web/search.cfm:36) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:62) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:107) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:43) at coldfusion.filter.PathFilter.invoke(PathFilter.java:80) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:47) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:35) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:43) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.CfmServlet.service(CfmServlet.java:105) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:252) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:192) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)