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 p1.gedcom ,p1.personID ,CONCAT(p1.firstname,' ',p1.lastname) AS PersonName ,f1.marrdate ,p2.personID as SpouseID ,CONCAT(p2.firstname,' ',p2.lastname) AS SpouseName 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 WHERE p1.famc <> "" AND p2.famc <> "" AND p1.famc <> p2.famc AND (p1.gedcom, CONCAT(CASE WHEN p1.famc < p2.famc THEN p1.famc ELSE p2.famc END, CASE WHEN p1.famc > p2.famc THEN p1.famc ELSE p2.famc END)) IN (SELECT q2.gedcom ,CONCAT(q2.family1, q2.family2) AS Parents FROM (SELECT f1.gedcom ,CASE WHEN p1.famc < p2.famc THEN p1.famc ELSE p2.famc END AS Family1 ,CASE WHEN p1.famc > p2.famc THEN p1.famc ELSE p2.famc END AS Family2 , COUNT(*) AS Frequency 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 WHERE p1.famc <> "" AND p2.famc <> "" GROUP BY p1.famc ,p2.famc HAVING Frequency > 1) AS q2) ORDER BY p1.famc ,p1.lastname ,p1.firstname LIMIT 800

Lost connection to MySQL server during query