Complex object types cannot be converted to simple values.
|
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.
|
|
The error occurred in C:/websites/currentwebsite/defaultWebsite/category.cfm: line 54
|
52 :
53 : for (x in url) {
54 : if (x!='DEPT' && x!='TYP' && x!='SUBTYP_1' && x!='SUBTYP_2' && x!='SUBTYP_3' && x!='MAPPING' && x!='SALE ' && x!='NEW' && x!='BRAND' && x!='WEB_TAXONOMY_ID' && x!='KEYWORD' && len(url[x]) && x!='PPSUCCESS' && x!='NAV_CHOOSER' && x!='PAGE' && x!='CURRENTPAGE' && x!='PAYMETHOD' && x!='PAYMETHOD' && x!='CONFIRM' && x!='SAVEDCART' && x!='SHOP') {
55 : variables.robotsNoFollow='check';
56 : }
|
|
Resources:
|
Browser |
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
Remote Address |
3.145.143.239 |
Referrer |
http://www.mycopshop.com/category.cfm/policesupplies/css/mycopshop.css |
Date/Time |
27-Apr-24 09:55 PM |
|