Menu Close

Telegraph clerk

string(1137) "Database Error; SQL: SELECT DISTINCT `t`.* FROM `wp_2_posts` AS `t` LEFT JOIN `wp_2_podsrel` AS `rel_has_occupation` ON `rel_has_occupation`.`field_id` = 4212 AND `rel_has_occupation`.`item_id` = `t`.`ID` LEFT JOIN `wp_2_terms` AS `has_occupation` ON `has_occupation`.`term_id` = `rel_has_occupation`.`related_item_id` LEFT JOIN `wp_2_termmeta` AS `has_occupation_id` ON `has_occupation_id`.`meta_key` = 'term_id' AND `has_occupation_id`.`term_id` = `has_occupation`.`term_id` WHERE ( ( `has_occupation`.`id` = 3410 ) AND ( `t`.`post_type` = 'persons' ) AND ( `t`.`post_status` IN ( 'publish' ) ) ) ORDER BY `t`.`menu_order`, `t`.`post_title`, `t`.`post_date` LIMIT 0, 25; Response: Unknown column 'has_occupation.id' in 'where clause'" string(1185) "Database Error; SQL: SELECT DISTINCT `t`.* FROM `wp_2_posts` AS `t` LEFT JOIN `wp_2_podsrel` AS `rel_has_apprenticeship` ON `rel_has_apprenticeship`.`field_id` = 4016 AND `rel_has_apprenticeship`.`item_id` = `t`.`ID` LEFT JOIN `wp_2_terms` AS `has_apprenticeship` ON `has_apprenticeship`.`term_id` = `rel_has_apprenticeship`.`related_item_id` LEFT JOIN `wp_2_termmeta` AS `has_apprenticeship_id` ON `has_apprenticeship_id`.`meta_key` = 'term_id' AND `has_apprenticeship_id`.`term_id` = `has_apprenticeship`.`term_id` WHERE ( ( `has_apprenticeship`.`id` = 3410 ) AND ( `t`.`post_type` = 'persons' ) AND ( `t`.`post_status` IN ( 'publish' ) ) ) ORDER BY `t`.`menu_order`, `t`.`post_title`, `t`.`post_date` LIMIT 0, 25; Response: Unknown column 'has_apprenticeship.id' in 'where clause'"
    Persons Having Occupation
      Persons Having Apprenticeship