The expression has requested a variable or an intermediate expression result as a simple value. However, the result cannot be converted to a simple value. Simple values are strings, numbers, boolean values, and date/time values. Queries, arrays, and COM objects are examples of complex values. The most likely cause of the error is that you tried to use a complex value as a simple one. For example, you tried to use a query variable in a cfif tag.
|
4006 : <cfif isDefined("url.lang")>
4007 : <cfoutput query="get_content_topic"><div class="col-md-4" style="height:540px;">
4008 : <div class="teaser-box"><cfif CGI.QUERY_STRING gt 1><a href="#Replace(url,'index.cfm','')#?#CGI.QUERY_STRING#"><cfelse><a href="#Replace(url,'index.cfm','')#"></cfif><cfif page_title neq ''><img src="/userfiles/image/placeholder.png" style="width:100%; background-image:url('#page_title#'); background-size:cover; background-position: center center; background-repeat: no-repeat;" /><cfelse><img src="/userfiles/image/placeholder.png" style="width:100%; background-image:url(/userfiles/image/no-photo-available.png); background-size:cover; background-position: center center; background-repeat: no-repeat;" /></cfif></a><div style="width:100%; vertical-align:middle;"><cfif CGI.QUERY_STRING gt 1><a href="#Replace(url,'index.cfm','')#?#CGI.QUERY_STRING#" style="vertical-align:middle;"><cfelse><a href="#Replace(url,'index.cfm','')#?#CGI.QUERY_STRING#" style="vertical-align:middle;"></cfif><h3 style="margin-top:12px; font-size:22px; line-height:24px; margin-bottom:0px; vertical-align:middle; text-align:left"><strong style="vertical-align:middle; color:##000000;">#page#</strong></h3></a><p style="margin-top:8px; font-family:'Open Sans',Helvetica; font-size:18px"><!---#DateFormat(start_date, "mmmm d, yyyy")#<br />--->By: <a href="#Replace(author_url,'index.cfm','')#" style="font-family:Lora, Tinos, serif; color: ##262D70; font-size: 18px; font-weight: bold;">#author_name#</a><cfif coauthor1_name neq ''><span style="font-size:16px"> & </span></cfif><cfif coauthor1_name neq ''><a href="#Replace(coauthor1_url,'index.cfm','')#" style="font-family:Lora, Tinos, serif; color: ##262D70; font-size: 18px; font-weight: bold;">#coauthor1_name#</a></cfif><cfif coauthor2_name neq ''><span style="font-size:16px"> & </span></cfif><cfif coauthor2_name neq ''><a href="#Replace(coauthor2_url,'index.cfm','')#" style="font-family:Lora, Tinos, serif; color: ##262D70; font-size: 18px; font-weight: bold;">#coauthor2_name#</a></cfif><cfif coauthor3_name neq ''><span style="font-size:16px"> & </span></cfif><cfif coauthor3_name neq ''><a href="#Replace(coauthor3_url,'index.cfm','')#" style="font-family:Lora, Tinos, serif; color: ##262D70; font-size: 18px; font-weight: bold;">#coauthor3_name#</a></cfif><br />
4009 :
4010 : <cfquery name="get_content_topic_translations" datasource="#datasource#">
|