Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[HY000]: General error: 3065 Expression #1 of ORDER BY clause is not in SELECT list, references column 'db520512725.t.weight' which is not in SELECT list; this is incompatible with DISTINCT: SELECT DISTINCT t.tid AS tid FROM {taxonomy_term_data} t INNER JOIN {taxonomy_term_hierarchy} h ON h.parent = t.tid LEFT OUTER JOIN {forum_access} fa ON fa.tid = t.tid LEFT OUTER JOIN {acl} acl ON acl.number = t.tid AND acl.module = 'forum_access' LEFT OUTER JOIN {acl_user} aclu ON aclu.acl_id = acl.acl_id AND aclu.uid = 0 WHERE (h.tid = :db_condition_placeholder_0) AND( (fa.rid IS NULL ) OR( (fa.rid IN (:db_condition_placeholder_1)) AND (fa.grant_view >= :db_condition_placeholder_2) )OR (aclu.uid = :db_condition_placeholder_3) ) ORDER BY t.weight ASC, t.name ASC; Array ( [:db_condition_placeholder_0] => 36 [:db_condition_placeholder_1] => 1 [:db_condition_placeholder_2] => 1 [:db_condition_placeholder_3] => 0 ) in taxonomy_get_parents() (line 1029 of /homepages/10/d421204610/htdocs/modules/taxonomy/taxonomy.module).

Additional

PDOException: SQLSTATE[42000]: Syntax error or access violation: 1142 INSERT command denied to user 'o4848195'@'infong1162.perfora.net' for table 'watchdog': INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array ( [:db_insert_placeholder_0] => 0 [:db_insert_placeholder_1] => php [:db_insert_placeholder_2] => %type: !message in %function (line %line of %file). [:db_insert_placeholder_3] => a:6:{s:5:"%type";s:12:"PDOException";s:8:"!message";s:975:"SQLSTATE[HY000]: General error: 3065 Expression #1 of ORDER BY clause is not in SELECT list, references column 'db520512725.t.weight' which is not in SELECT list; this is incompatible with DISTINCT: SELECT DISTINCT t.tid AS tid FROM {taxonomy_term_data} t INNER JOIN {taxonomy_term_hierarchy} h ON h.parent = t.tid LEFT OUTER JOIN {forum_access} fa ON fa.tid = t.tid LEFT OUTER JOIN {acl} acl ON acl.number = t.tid AND acl.module = 'forum_access' LEFT OUTER JOIN {acl_user} aclu ON aclu.acl_id = acl.acl_id AND aclu.uid = 0 WHERE (h.tid = :db_condition_placeholder_0) AND( (fa.rid IS NULL ) OR( (fa.rid IN (:db_condition_placeholder_1)) AND (fa.grant_view >= :db_condition_placeholder_2) )OR (aclu.uid = :db_condition_placeholder_3) ) ORDER BY t.weight ASC, t.name ASC; Array ( [:db_condition_placeholder_0] => 36 [:db_condition_placeholder_1] => 1 [:db_condition_placeholder_2] => 1 [:db_condition_placeholder_3] => 0 ) ";s:9:"%function";s:22:"taxonomy_get_parents()";s:5:"%file";s:64:"/homepages/10/d421204610/htdocs/modules/taxonomy/taxonomy.module";s:5:"%line";i:1029;s:14:"severity_level";i:3;} [:db_insert_placeholder_4] => 3 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://k2put.org/tags/contest [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => 100.24.118.144 [:db_insert_placeholder_9] => 1670491323 ) in dblog_watchdog() (line 160 of /homepages/10/d421204610/htdocs/modules/dblog/dblog.module).