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, tng_people.private, lnprefix, prefix, suffix, tng_people.branch,firstname, lastname,DATE_FORMAT(tng_people.changedate,'%d %b %Y') as changedate_disp, tng_people.personID, tng_people.gedcom, nameorder FROM (tng_people ) WHERE ((TO_DAYS(todayDATE_SUB(NOW(), INTERVAL -2 HOUR)) - TO_DAYS(tng_people.changedate) <= 7) AND (( !=1 && tng_people.private != 1))) AND tng_people.gedcom = "McElrea1" ORDER BY changedate,lastname,firstname LIMIT 50

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 ')) - TO_DAYS(tng_people.changedate) <= 7) AND (( !=1 && tng_pe' at line 1