I am trying to upgrade my views from 2x to 3x and when I do this I get all these warnings.
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= term_data_node.tid LEFT JOIN content_type_beer_craving node_data_field_addito' at line 5 query: SELECT COUNT(*) FROM (SELECT DISTINCT(node.nid) AS nid_1, location_node_data_field_additonal_geo_info.city AS location_node_data_field_additonal_geo_info_city, node.nid AS nid FROM node node LEFT JOIN term_data term_data_node ON .tid = term_data_node.tid LEFT JOIN content_type_beer_craving node_data_field_additonal_geo_info ON node.vid = node_data_field_additonal_geo_info.vid LEFT JOIN location location_node_data_field_additonal_geo_info ON node_data_field_additonal_geo_info.field_additonal_geo_info_lid = location_node_data_field_additonal_geo_info.lid LEFT JOIN workflow_node workflow_node ON node.nid = workflow_node.nid WHERE (node.type in ('beer_craving')) AND (node.status = 1) AND (workflow_node.sid = 4) AND (location_node_data_field_additonal_geo_info.city IS NOT NULL) ) count_alias in /home/idbeer/public_html/sites/all/modules/views/plugins/views_plugin_pager.inc on line 141.
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= term_data_node.tid LEFT JOIN content_type_beer_craving node_data_field_addito' at line 5 query: SELECT DISTINCT(node.nid) AS nid_1, location_node_data_field_additonal_geo_info.city AS location_node_data_field_additonal_geo_info_city, node.nid AS nid FROM node node LEFT JOIN term_data term_data_node ON .tid = term_data_node.tid LEFT JOIN content_type_beer_craving node_data_field_additonal_geo_info ON node.vid = node_data_field_additonal_geo_info.vid LEFT JOIN location location_node_data_field_additonal_geo_info ON node_data_field_additonal_geo_info.field_additonal_geo_info_lid = location_node_data_field_additonal_geo_info.lid LEFT JOIN workflow_node workflow_node ON node.nid = workflow_node.nid WHERE (node.type in ('beer_craving')) AND (node.status = 1) AND (workflow_node.sid = 4) AND (location_node_data_field_additonal_geo_info.city IS NOT NULL) LIMIT 0, 10 in /home/idbeer/public_html/sites/all/modules/views/plugins/views_plugin_query_default.inc on line 1150.
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= term_data_node.tid LEFT JOIN content_type_beer_craving node_data_field_addito' at line 4 query: SELECT COUNT(*) FROM (SELECT DISTINCT(node.nid) AS nid, term_data_node__term_node_count.node_count AS term_data_node__term_node_count_node_count FROM node node LEFT JOIN term_data term_data_node ON .tid = term_data_node.tid LEFT JOIN content_type_beer_craving node_data_field_additonal_geo_info ON node.vid = node_data_field_additonal_geo_info.vid LEFT JOIN location location_node_data_field_additonal_geo_info ON node_data_field_additonal_geo_info.field_additonal_geo_info_lid = location_node_data_field_additonal_geo_info.lid LEFT JOIN workflow_node workflow_node ON node.nid = workflow_node.nid LEFT JOIN term_node_count term_data_node__term_node_count ON term_data_node.tid = term_data_node__term_node_count.tid WHERE (node.type in ('beer_craving')) AND (node.status = 1) AND (workflow_node.sid = 4) AND (location_node_data_field_additonal_geo_info.city IS NOT NULL) ORDER BY term_data_node__term_node_count_node_count DESC ) count_alias in /home/idbeer/public_html/sites/all/modules/views/plugins/views_plugin_pager.inc on line 141.
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= term_data_node.tid LEFT JOIN content_type_beer_craving node_data_field_addito' at line 4 query: SELECT DISTINCT(node.nid) AS nid, term_data_node__term_node_count.node_count AS term_data_node__term_node_count_node_count FROM node node LEFT JOIN term_data term_data_node ON .tid = term_data_node.tid LEFT JOIN content_type_beer_craving node_data_field_additonal_geo_info ON node.vid = node_data_field_additonal_geo_info.vid LEFT JOIN location location_node_data_field_additonal_geo_info ON node_data_field_additonal_geo_info.field_additonal_geo_info_lid = location_node_data_field_additonal_geo_info.lid LEFT JOIN workflow_node workflow_node ON node.nid = workflow_node.nid LEFT JOIN term_node_count term_data_node__term_node_count ON term_data_node.tid = term_data_node__term_node_count.tid WHERE (node.type in ('beer_craving')) AND (node.status = 1) AND (workflow_node.sid = 4) AND (location_node_data_field_additonal_geo_info.city IS NOT NULL) ORDER BY term_data_node__term_node_count_node_count DESC LIMIT 0, 10 in /home/idbeer/public_html/sites/all/modules/views/plugins/views_plugin_query_default.inc on line 1150.
Comments
Comment #1
sslam commentedI have the same problem.
Comment #2
mustanggb commented