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.living, tng_people.private, lnprefix, prefix, suffix, tng_people.branch,firstname, lastname,birthdate,birthplace,altbirthdate,altbirthplace,if(sex='M',families1.marrdate,families2.marrdate),if(sex='M',families1.marrplace,families2.marrplace),(if(sex='M',families1.wife,families2.husband)) as spouse,deathdate,deathplace,burialdate,burialplace, tng_people.personID, tng_people.gedcom, nameorder FROM (tng_people ) LEFT JOIN tng_families AS families1 ON (tng_people.gedcom = families1.gedcom AND tng_people.personID = families1.husband ) LEFT JOIN tng_families AS families2 ON (tng_people.gedcom = families2.gedcom AND tng_people.personID = families2.wife ) WHERE ((birthplace LIKE "%Cambridgeshire%" OR if(sex='M',families1.marrplace,families2.marrplace) LIKE "%Cambridgeshire%" deathplace LIKE "%Cambridgeshire%" OR burialplace LIKE "%Cambridgeshire%") AND (tng_people.living != 1)) AND tng_people.gedcom = "CaldicottONS" ORDER BY lastname 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 'deathplace LIKE "%Cambridgeshire%" OR burialplace LIKE "%Cambridgeshire%") AND (' at line 1