Drug driving, criminal damage and theft among cases heard in Harrogate