Wheels.QueryParamValue

The value for cfqueryparam cannot be determined

Suggested action

This is usually caused by a syantax error in the WHERE statement such as forgetting to quote strings.

Error location

Line 215 in controllers\Pages.cfc

213: 			<cfparam name="params.key" default="amsterdam" >	
214: 			<cfset theTag = model('tag').findAll(select="tags.id As id,name,description,introduction,title,tags.shortTitle As shortTitle,taggroupId",where="shortTitle='#params.key#' AND visible =1",order="name")/>
215: 			<cfset tagImages =model("contentImage").findAll(select="shortTitle,caption",where="tagId=#theTag.id#",order="sortPosition ASC")>
216: 			<!--- get tagged items --->
217: 			<cfset allTaggedarticles = model('article').findAll(include="contentImages,articleTags",where="articleTags.tagId='#theTag.id#'",select="articles.shortTitle As shortTitle,title,intro,mainImage,articleTypeId,visible,releasedAt,contentImages.shortTitle As contentImage",group="articles.id",order="releasedAt Desc") />

Tag context

Error thrown on line 177 in wheels\model\adapters\Base.cfc
- called from line 243 in wheels\model\adapters\Base.cfc
- called from line 48 in wheels\model\adapters\MySQL.cfc
- called from line 259 in wheels\model\crud.cfm
- called from line 215 in controllers\Pages.cfc
- called from line 209 in controllers\Pages.cfc
- called from line 189 in controllers\Pages.cfc
- called from line 174 in wheels\global\cfml.cfm
- called from line 85 in wheels\controller\processing.cfm
- called from line 60 in wheels\controller\processing.cfm
- called from line 167 in wheels\dispatch\request.cfm
- called from line 1 in wheels\index.cfm
- called from line 1 in rewrite.cfm
- called from line 1 in wheels\events\onrequest.cfm