Works fine for authenticated users. But fails for anonymous. Is it a conflict with node_privacy_by_role or the fact that I don't have comments viewable by anonymous users?

warning: pg_query(): Query failed: ERROR:  Relation "n" does not exist
. in /home/awg/public_html/includes/database.pgsql.inc on line 104.
user error: 
query: SELECT t.tid, COUNT(DISTINCT(n.nid)) AS c FROM term_node t INNER JOIN node_access na ON (na.nid = 0 OR na.nid = n.nid)INNER JOIN node n ON t.nid = n.nid WHERE n.status = 1 AND na.grant_view = 1 AND CONCAT(na.realm, na.gid) IN ('all0','node_privacy_byrole_role1','node_privacy_byrole_user0')GROUP BY t.tid in /home/awg/public_html/includes/database.pgsql.inc on line 121.

Comments

moshe weitzman’s picture

wrong module. _dhtml does not issue this query.