Database error?? In server error_log
I get this error in my error_log:
WordPress database error 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 ') AND post_type IN ('ad_listing') AND post_status = 'publish'' at line 1 for query SELECT object_id, term_taxonomy_id FROM wp_term_relationships INNER JOIN wp_posts ON object_id = ID WHERE term_taxonomy_id IN () AND post_type IN ('ad_listing') AND post_status = 'publish' made by require, require_once, require_once, do_action, call_user_func_array, app_login_init, app_show_login, include_once, appthemes_header, do_action, call_user_func_array, cp_header, cp_cat_menu_drop_down, wp_list_categories, get_categories, get_terms, _pad_term_counts
__________________________________________________ _______________
WordPress database error 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 ') AND post_type IN ('ad_listing') AND post_status = 'publish'' at line 1 for query SELECT object_id, term_taxonomy_id FROM wp_term_relationships INNER JOIN wp_posts ON object_id = ID WHERE term_taxonomy_id IN () AND post_type IN ('ad_listing') AND post_status = 'publish' made by require, require_once, include, get_header, locate_template, load_template, require_once, appthemes_header, do_action, call_user_func_array, cp_header, cp_cat_menu_drop_down, wp_list_categories, get_categories, get_terms, _pad_term_counts
__________________________________________________ ___________________
WordPress database error 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 ') AND post_type IN ('ad_listing') AND post_status = 'publish'' at line 1 for query SELECT object_id, term_taxonomy_id FROM wp_term_relationships INNER JOIN wp_posts ON object_id = ID WHERE term_taxonomy_id IN () AND post_type IN ('ad_listing') AND post_status = 'publish' made by require, require_once, include, cp_cat_menu_drop_down, wp_list_categories, get_categories, get_terms, _pad_term_counts