RXML run error: Query failed: Lookup in destructed object.

 | <emit bindings="id=form.id" host="ctwphc" query="select name, blurb, file, description, location, location[0] as lat, location[1] as lon, added, taken,  updated, previous, next from pictures, photographers  where photographers.id=pictures.photographer and  pictures.id=:id;" source="sql">
 | <if variable="form.id">