object(PDOException)#29 (8) { ["message":protected]=> string(284) "SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'tmpsub0.Priority' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by" ["string":"Exception":private]=> string(0) "" ["code":protected]=> string(5) "42000" ["file":protected]=> string(53) "/var/www/gtcni.org.uk/releases/49/_/lib/tc/Search.php" ["line":protected]=> int(640) ["trace":"Exception":private]=> array(4) { [0]=> array(6) { ["file"]=> string(53) "/var/www/gtcni.org.uk/releases/49/_/lib/tc/Search.php" ["line"]=> int(640) ["function"]=> string(7) "execute" ["class"]=> string(12) "PDOStatement" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> array(4) { ["search0"]=> string(45) "%index.cfm/area/news/page/news/news_key/692/%" ["searchword0"]=> string(43) "index.cfm/area/news/page/news/news_key/692/" [":word0"]=> string(43) "index.cfm/area/news/page/news/news_key/692/" [":wordlike0"]=> string(45) "%index.cfm/area/news/page/news/news_key/692/%" } } } [1]=> array(6) { ["file"]=> string(52) "/var/www/gtcni.org.uk/releases/49/_/errors/model.php" ["line"]=> int(194) ["function"]=> string(3) "run" ["class"]=> string(6) "Search" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [2]=> array(4) { ["file"]=> string(45) "/var/www/gtcni.org.uk/releases/49/_/index.php" ["line"]=> int(226) ["args"]=> array(1) { [0]=> string(52) "/var/www/gtcni.org.uk/releases/49/_/errors/model.php" } ["function"]=> string(12) "include_once" } [3]=> array(4) { ["file"]=> string(43) "/var/www/gtcni.org.uk/releases/49/index.php" ["line"]=> int(2) ["args"]=> array(1) { [0]=> string(45) "/var/www/gtcni.org.uk/releases/49/_/index.php" } ["function"]=> string(7) "include" } } ["previous":"Exception":private]=> NULL ["errorInfo"]=> array(3) { [0]=> string(5) "42000" [1]=> int(1055) [2]=> string(228) "Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'tmpsub0.Priority' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by" } }