user warning: Unknown column 'n.nid' in 'field list' query: SELECT n.nid, n.type, n.promote, n.changed, xn.previously_changed, xn.priority_override, COALESCE(ua.dst) AS alias FROM node nLEFT JOIN node_comment_statistics s ON n.nid = s.nidLEFT JOIN url_alias ua ON ua.src = CONCAT('node/', CAST(n.nid AS CHAR)) LEFT JOIN xmlsitemap_node xn ON n.nid = xn.nid LEFT JOIN drigg_node dn2 ON dn2.dnid = n.nid WHERE ( 1=1 AND !(n.type='drigg' AND dn2.killed=1 ) ) AND ( !(n.type='drigg' AND n.created > UNIX_TIMESTAMP(CURRENT_TIMESTAMP()) ) ) AND ( n.status > 0 AND (n.type NOT IN ('''') AND xn.priority_override IS NULL OR xn.priority_override >= 0) AND n.nid <> 0 ) GROUP BY n.nid, n.type, n.promote, n.changed, xn.previously_changed, xn.priority_overrides.comment_count, s.last_comment_timestamp, xn.previous_comment in /home/dapxcom/public_html/includes/database.mysql.inc on line 172.
I am getting the above error
Comments
Comment #1
iahead commentedAlso found error in sitemap.xml
XML Parsing Error: junk after document element
Location: http://domain.com/sitemap.xml
Line Number 63331, Column 10:
---------^
Comment #2
avpadernoThis is a duplicate of #340803: Invalid argument supplied for foreach().