WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]SELECT p.*, concat_ws(', ', county, tower) l, concat_ws(' ', CAST(FORMAT(p.changes,0) AS CHAR CHARACTER SET utf8), CASE WHEN p.variation like 'Londinium' THEN p.variation ELSE p.method END, p.class, s.name) m, s.name stage_name, date_format(pealdate, '%W %e %M %Y') pealdate FROM wp_cc_peals p JOIN wp_cc_peal_stages s ON s.stage=p.stage WHERE id=