WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '* FROM BID18_posts INNER JOIN ON (.post_id = BID18_posts.ID) WHERE 1=1 ...' at line 1]SELECT BID18_posts.*, .* FROM BID18_posts INNER JOIN ON (.post_id = BID18_posts.ID) WHERE 1=1 AND (
( 1=1 )
)
AND BID18_posts.post_type in ('gd_place')
AND BID18_posts.post_status = 'publish' ORDER BY BID18_posts.post_date desc