Everytime I Activate PM Lite when views is on I get the following errors, I have very little knowledge of PHP so any help will be greatly appreciated:
user warning: Unknown table 'n' in where clause query: SELECT COUNT(*) FROM (SELECT DISTINCT(node.nid) AS nid, node.title AS node_title, node.created AS node_created FROM node node LEFT JOIN term_node term_node ON node.vid = term_node.vid LEFT JOIN term_data term_data ON term_node.tid = term_data.tid WHERE (n.type != 'pm') AND ( (node.status <> 0) AND (term_data.vid in ('4')) AND (node.type in ('anime', 'story')) AND (node.promote <> 0) )ORDER BY node_created DESC ) AS count_alias in /path/to/my/drupal/modules/views/includes/view.inc on line 652.
user warning: Unknown table 'n' in where clause query: SELECT DISTINCT(node.nid) AS nid, node.title AS node_title, node.created AS node_created FROM node node LEFT JOIN term_node term_node ON node.vid = term_node.vid LEFT JOIN term_data term_data ON term_node.tid = term_data.tid WHERE (n.type != 'pm') AND ( (node.status <> 0) AND (term_data.vid in ('4')) AND (node.type in ('anime', 'story')) AND (node.promote <> 0) )ORDER BY node_created DESC LIMIT 0, 30 in /path/to/my/drupal/modules/views/includes/view.inc on line 677.
user warning: Unknown table 'n' in where clause query: SELECT nc.nid FROM node_comment_statistics nc WHERE (n.type != 'pm') AND ( nc.comment_count > 0 )ORDER BY nc.last_comment_timestamp DESC LIMIT 0, 10 in /path/to/my/drupal/modules/comment/comment.module on line 314.
Comments
Comment #1
rszrama commentedMarking as duplicate... can you try the fix and follow-up in the issue here? Thanks. : )