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 'GROUP BY t.tid, t.vid, v.module, xt.last_changed, xt.previously_changed, xt.prio' at line 8 query: SELECT t.tid, t.vid, v.module, xt.last_changed, xt.previously_changed, xt.priority_override FROM term_data t LEFT JOIN vocabulary v ON t.vid = v.vid LEFT JOIN xmlsitemap_term xt ON t.tid = xt.tid WHERE (t.language ='it' OR t.language ='' OR t.language IS NULL) AND ( (t.vid NOT IN (0) AND xt.priority_override <> -1 AND t.tid <> 0 )GROUP BY t.tid, t.vid, v.module, xt.last_changed, xt.previously_changed, xt.priority_override in /sites/all/modules/xmlsitemap/xmlsitemap_term/xmlsitemap_term.module on line 220.
There's an open parenthesis on line 215 that is not closed.
Comments
Comment #1
stefano73 commentedOne more error, on node insert. The last value is missing.
Comment #2
avpaderno@stefano73: That is a different error, that has been already reported; see #354453: priority_override doesn't get a value.
Comment #3
avpadernoComment #4
Anonymous (not verified) commentedI believe that removing the opening parenthesis is the solution for this issue.
Comment #5
avpadernoThe patch fixes the problem.
Comment #6
avpadernoThe bug has been fixed in CVS for the DRUPAL-6--1 branch; the DRUPAL-6--2 branch had been fixed in precedent commits.