I am running on PostgreSQL, with comments not viewable by anonymous. When I turn on the statistic counts, I get the following error only when attempting to access teh sitemenu anonymously:

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 includes/database.pgsql.inc on line 121.
warning: pg_query(): Query failed: ERROR: Relation "n" does not exist . in includes/database.pgsql.inc on line 104.

You can see I am also running node_privacy_by_role

Comments

hystrix’s picture

Priority: Normal » Minor
Status: Active » Closed (won't fix)

Closing this ancient issue.