Looks like you might have an unmatched double quote just before the WHERE on that line.