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 wp.post_author IN (3895) AND wp.pos' at line 9]
SELECT SQL_CALC_FOUND_ROWS wm1.meta_value AS asking_price, wm2.meta_value AS location, wm3.meta_value AS state_level2, wp.*, wpi.filename FROM wp_term_relationships wptr, wp_posts wp JOIN wp_postmeta wm1 ON wm1.post_id = wp.ID JOIN wp_postmeta wm2 ON wm2.post_id = wp.ID JOIN wp_postmeta wm3 ON wm3.post_id = wp.ID JOIN wp_ad_images wpi ON wpi.post_id = wp.ID WHERE 1=1 AND wm1.meta_key = 'asking_price' AND wm2.meta_key = 'location' AND wm3.meta_key = 'state_level2' AND wptr.term_taxonomy_id != 372 AND wptr.object_id = wp.ID AND wptr.term_taxonomy_id IN () AND wp.post_author IN (3895) AND wp.post_type = 'advertisement' AND ((wp.post_status = 'publish')) AND wpi.image_position = 1 GROUP BY wp.ID ORDER BY wp.post_title ASC LIMIT 0, 48 ;


Contact User

User Since: 13/04/2015