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 distinct trim(substring_index(place,',',-1)) as myplace, trim(place) as wholeplace, count(place) as placecount, gedcom FROM tng_places WHERE gedcom = "HillbrickTree1" AND trim(substring_index(place,',',-1)) LIKE ""%" GROUP BY myplace ORDER by myplace

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 '%" GROUP BY myplace ORDER by myplace' at line 1