I get this error with my custom module, Any advice on tracking down the problem?
You need to create a custom field called for_date which will be represented in the database as field_data_field_for_date or remove field_data_field_for_date from the SQL query.