The DPL extension (version 2.3.0) produced a SQL statement which lead to a Database error.
The reason may be an internal error of DPL or an error which you made,
especially when using DPL options like titleregexp.
Query text is:
SELECT DISTINCT cl_head.cl_to, `page`.page_namespace AS page_namespace,`page`.page_title AS page_title,`page`.page_id AS page_id, GROUP_CONCAT(DISTINCT cl_gc.cl_to ORDER BY cl_gc.cl_to ASC SEPARATOR ' | ') AS cats FROM `page` LEFT OUTER JOIN `categorylinks` AS cl_head, `categorylinks` AS cl_gc ON (page_id=cl_head.cl_from AND page_id=cl_gc.cl_from) WHERE 1=1 AND `page`.page_namespace IN ('0') AND `page`.page_is_redirect=0 GROUP BY cl_head.cl_to, `page`.page_id ORDER BY cl_head.cl_to ASC LIMIT 500 OFFSET 0

Error message is:
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 ' `categorylinks` AS cl_gc ON (page_id=cl_head.cl_from AND page_id=cl_gc.cl_from)' at line 1 (geo-db-a-slave.query.consul)