网站遇到了不可预知的错误。请稍后再试。

Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[HY000]: General error: 3065 Expression #1 of ORDER BY clause is not in SELECT list, references column 'hy8.td.weight' which is not in SELECT list; this is incompatible with DISTINCT: SELECT DISTINCT td.tid AS tid, tn.nid AS node_nid FROM {taxonomy_term_field_data} td INNER JOIN {taxonomy_index} tn ON td.tid = tn.tid LEFT OUTER JOIN {forum_access} fa ON fa.tid = td.tid LEFT OUTER JOIN {acl} acl ON acl.figure = td.tid AND acl.module = 'forum_access' AND acl.name=:name LEFT OUTER JOIN {acl_user} aclu ON aclu.acl_id = acl.acl_id AND aclu.uid = :uid WHERE (tn.nid IN (:db_condition_placeholder_0, :db_condition_placeholder_1, :db_condition_placeholder_2, :db_condition_placeholder_3, :db_condition_placeholder_4, :db_condition_placeholder_5, :db_condition_placeholder_6, :db_condition_placeholder_7, :db_condition_placeholder_8, :db_condition_placeholder_9, :db_condition_placeholder_10, :db_condition_placeholder_11, :db_condition_placeholder_12, :db_condition_placeholder_13, :db_condition_placeholder_14, :db_condition_placeholder_15, :db_condition_placeholder_16, :db_condition_placeholder_17, :db_condition_placeholder_18, :db_condition_placeholder_19)) AND (td.vid IN (:db_condition_placeholder_20)) AND ((fa.rid IS NULL) OR ((fa.rid IN (:db_condition_placeholder_21)) AND (fa.grant_view >= :db_condition_placeholder_22)) OR (aclu.uid = :db_condition_placeholder_23)) ORDER BY td.weight ASC, td.name ASC; Array ( [:db_condition_placeholder_0] => 13856 [:db_condition_placeholder_1] => 13496 [:db_condition_placeholder_2] => 13473 [:db_condition_placeholder_3] => 13459 [:db_condition_placeholder_4] => 13458 [:db_condition_placeholder_5] => 13449 [:db_condition_placeholder_6] => 13410 [:db_condition_placeholder_7] => 13403 [:db_condition_placeholder_8] => 13402 [:db_condition_placeholder_9] => 13401 [:db_condition_placeholder_10] => 13393 [:db_condition_placeholder_11] => 13383 [:db_condition_placeholder_12] => 13382 [:db_condition_placeholder_13] => 13376 [:db_condition_placeholder_14] => 13362 [:db_condition_placeholder_15] => 13361 [:db_condition_placeholder_16] => 13360 [:db_condition_placeholder_17] => 13358 [:db_condition_placeholder_18] => 13357 [:db_condition_placeholder_19] => 13356 [:db_condition_placeholder_20] => tag_zuozhe [:db_condition_placeholder_21] => anonymous [:db_condition_placeholder_22] => 1 [:db_condition_placeholder_23] => 0 [:name] => moderate [:uid] => 0 ) in Drupal\taxonomy\TermStorage->getNodeTerms() (line 360 of core/modules/taxonomy/src/TermStorage.phphtml).
Drupal\Core\Database\Statement->execute(Array, Array) (Line: 640)
Drupal\Core\Database\Connection->query('SELECT DISTINCT td.tid AS tid, tn.nid AS node_nid
FROM
{taxonomy_term_field_data} td
INNER JOIN {taxonomy_index} tn ON td.tid = tn.tid
LEFT OUTER JOIN {forum_access} fa ON fa.tid = td.tid
LEFT OUTER JOIN {acl} acl ON acl.figure = td.tid AND acl.module = 'forum_access' AND acl.name=:name
LEFT OUTER JOIN {acl_user} aclu ON aclu.acl_id = acl.acl_id AND aclu.uid = :uid
WHERE (tn.nid IN (:db_condition_placeholder_0, :db_condition_placeholder_1, :db_condition_placeholder_2, :db_condition_placeholder_3, :db_condition_placeholder_4, :db_condition_placeholder_5, :db_condition_placeholder_6, :db_condition_placeholder_7, :db_condition_placeholder_8, :db_condition_placeholder_9, :db_condition_placeholder_10, :db_condition_placeholder_11, :db_condition_placeholder_12, :db_condition_placeholder_13, :db_condition_placeholder_14, :db_condition_placeholder_15, :db_condition_placeholder_16, :db_condition_placeholder_17, :db_condition_placeholder_18, :db_condition_placeholder_19)) AND (td.vid IN (:db_condition_placeholder_20)) AND ((fa.rid IS NULL) OR ((fa.rid IN (:db_condition_placeholder_21)) AND (fa.grant_view >= :db_condition_placeholder_22)) OR (aclu.uid = :db_condition_placeholder_23))
ORDER BY td.weight ASC, td.name ASC', Array, Array) (Line: 357)
Drupal\Core\Database\Driver\mysql\Connection->query('SELECT DISTINCT td.tid AS tid, tn.nid AS node_nid
FROM
{taxonomy_term_field_data} td
INNER JOIN {taxonomy_index} tn ON td.tid = tn.tid
LEFT OUTER JOIN {forum_access} fa ON fa.tid = td.tid
LEFT OUTER JOIN {acl} acl ON acl.figure = td.tid AND acl.module = 'forum_access' AND acl.name=:name
LEFT OUTER JOIN {acl_user} aclu ON aclu.acl_id = acl.acl_id AND aclu.uid = :uid
WHERE (tn.nid IN (:db_condition_placeholder_0, :db_condition_placeholder_1, :db_condition_placeholder_2, :db_condition_placeholder_3, :db_condition_placeholder_4, :db_condition_placeholder_5, :db_condition_placeholder_6, :db_condition_placeholder_7, :db_condition_placeholder_8, :db_condition_placeholder_9, :db_condition_placeholder_10, :db_condition_placeholder_11, :db_condition_placeholder_12, :db_condition_placeholder_13, :db_condition_placeholder_14, :db_condition_placeholder_15, :db_condition_placeholder_16, :db_condition_placeholder_17, :db_condition_placeholder_18, :db_condition_placeholder_19)) AND (td.vid IN (:db_condition_placeholder_20)) AND ((fa.rid IS NULL) OR ((fa.rid IN (:db_condition_placeholder_21)) AND (fa.grant_view >= :db_condition_placeholder_22)) OR (aclu.uid = :db_condition_placeholder_23))
ORDER BY td.weight ASC, td.name ASC', Array, Array) (Line: 510)
Drupal\Core\Database\Query\Select->execute() (Line: 360)
Drupal\taxonomy\TermStorage->getNodeTerms(Array, Array) (Line: 142)
Drupal\taxonomy\Plugin\views\field\TaxonomyIndexTid->preRender(Array) (Line: 1503)
Drupal\views\ViewExecutable->render() (Line: 183)
Drupal\views\Plugin\views\display\Page->execute() (Line: 1630)
Drupal\views\ViewExecutable->executeDisplay('page_6', Array) (Line: 77)
Drupal\views\Element\View::preRenderViewElement(Array)
call_user_func_array(Array, Array) (Line: 100)
Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. Support for this callback implementation is deprecated in 8.8.0 and will be removed in Drupal 9.0.0. See https://www.drupal.org/node/2966725', 'silenced_deprecation', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 781)
Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 372)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)