in reply to 500 server error with no explenation
You are using the function interface instead of $query->method
After Compline,Zaxo