An error has occurred in the TNG software. This could be due to a setup issue, an incomplete upgrade or a program bug. If you are the site owner, you may contact TNG support for help with this problem. Please copy the query below and paste it into your message.

Query: SELECT CONCAT(UPPER(p1.lastname), \', \', p1.firstname) AS Husband, CONCAT(UPPER(p2.lastname), \', \', p2.firstname) AS Wife, f1.marrdate, f1.marrplace, f1.gedcom FROM tng_families f1 INNER JOIN tng_people p1 ON f1.gedcom = p1.gedcom AND f1.husband = p1.personID INNER JOIN tng_people p2 ON f1.gedcom = p2.gedcom AND f1.wife = p2.personID INNER JOIN (SELECT f1.gedcom, f1.husband, f1.wife, COUNT(*) AS Frequency FROM tng_families f1 WHERE f1.husband <> \'\' AND f1.wife <> \'\' GROUP BY f1.gedcom, f1.husband, f1.wife HAVING Frequency >1) AS s1 ON f1.gedcom = s1.gedcom AND f1.husband = s1.husband AND f1.wife = s1.wife ORDER BY f1.husband, f1.wife LIMIT 100

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '\', \', p1.firstname) AS Husband, CONCAT(UPPER(p2.lastname), \', \', p2.firstnam' at line 1