Wheels.QueryParamValue
The value for cfqueryparam cannot be determined
Suggested action
This is usually caused by a syntax error in the WHERE statement, such as forgetting to quote strings for example.
Error location
Line 24 in controllers\DownloadBrochures.cfc
22:
23: <!--- FETCH CONTACT AND WEBFORM MAIL SETTINGS --->
24: <cfset webformMailSetting = model("mailPreset").findOne(where="id=#brochure.mailPresetId#", returnAs="query") />
25: <!--- SET PARAMS VARIABLES TO USE IN THE MESSAGE SUBJECT AND BODY --->
26: <cffunction name="brochureVariables">
Tag context
Error thrown on line 234 in wheels\model\adapters\Base.cfc
- called from line 302 in wheels\model\adapters\Base.cfc
- called from line 96 in wheels\model\adapters\MySQL.cfc
- called from line 203 in wheels\model\read.cfm
- called from line 290 in wheels\model\read.cfm
- called from line 24 in controllers\DownloadBrochures.cfc
- called from line 1 in controllers\DownloadBrochures.cfc
- called from line 2 in root.cfm
- called from line 576 in wheels\global\internal.cfm
- called from line 714 in wheels\global\internal.cfm
- called from line 164 in wheels\global\cfml.cfm
- called from line 14 in wheels\global\cfml.cfm
- called from line 177 in wheels\global\public.cfm
- called from line 197 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