x
    Database Error; SQL: SELECT DISTINCT `t`.*, `d`.* FROM `wp_posts` AS `t` LEFT JOIN `wp_term_relationships` AS `rel_boat_category` ON `rel_boat_category`.`object_id` = `t`.`ID`LEFT JOIN `wp_term_taxonomy` AS `rel_tt_boat_category` ON `rel_tt_boat_category`.`taxonomy` = 'boat_category' AND `rel_tt_boat_category`.`term_taxonomy_id` = `rel_boat_category`.`term_taxonomy_id`LEFT JOIN `wp_terms` AS `boat_category` ON `boat_category`.`term_id` = `rel_tt_boat_category`.`term_id` LEFT JOIN `wp_pods_boat` AS `d` ON `d`.`id` = `t`.`ID` WHERE ( ( `boat_category`.`term_id` = 10 AND (((t.post_status = 'publish' and d.boat_status = '2') or (t.post_status = 'draft' and d.boat_status = '2')) or ((`boat_option`.`slug` = 'archive-sold' and d.boat_status = '3'))) ) AND ( `t`.`post_type` = "boat" ) ) ORDER BY `t`.`menu_order`, `t`.`post_title`, `t`.`post_date` LIMIT 30, 15; Response: Unknown column 'boat_option.slug' in 'where clause'