State warns county about sanitation