Fix the query extension. The object was not being created because running send()