Ошибка

Сообщение об ошибке

PDOException: SQLSTATE[HY000]: General error: 3065 Expression #1 of ORDER BY clause is not in SELECT list, references column 'cd99231_obshives.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] => 85 [:db_condition_placeholder_1] => 1 [:db_condition_placeholder_2] => 1 [:db_condition_placeholder_3] => 0 ) в функции taxonomy_get_parents() (строка 1029 в файле /home/c/cd99231/observationhives/public_html/modules/taxonomy/taxonomy.module).
На сайте произошла непредвиденная ошибка. Пожалуйста, повторите попытку позже.