- Issue created by @sonam_sharma
- @sonam_sharma opened merge request.
column not found error occurred
1) install the module and go to the /allcontent path
2) select Vocabulary and filter it
3) we'll get an error :-
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'n.uid' in 'on clause': SELECT COUNT(*) AS "expression" FROM (SELECT 1 AS "expression" FROM "taxonomy_index" "ti" INNER JOIN "node_field_data" "nfd" ON nfd.nid = ti.nid INNER JOIN "users_field_data" "u" ON n.uid=u.uid WHERE ("ti"."tid" = :db_condition_placeholder_0) AND ("title" = :db_condition_placeholder_1)) "subquery"; Array ( [:db_condition_placeholder_0] => 0 [:db_condition_placeholder_1] => article ) in Drupal\filter_term\Controller\DefaultController->content() (line 64 of modules\filter_term\src\Controller\DefaultController.php).
I have resolved this issue by adding some changes in DefaultController.php
file.
Needs review
1.0
Code