SELECTp.id,p.post_type,p.post_name,p.post_title,p.post_status,p.post_excerpt,p.post_date,p.post_modified,p.post_content,MAX(CASEWHENpm_self.meta_key='_thumbnail_id'THENpm_self.meta_valueEND) AS`thumbnail_id`,category.term_idAScategory_id,category.nameAScategory_name,category.slugAScategory_slugFROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idINNER JOINwp_term_relationshipstr_0ONp.id=tr_0.object_idINNER JOINwp_term_taxonomytt_0ONtr_0.term_taxonomy_id=tt_0.term_taxonomy_idINNER JOINwp_termscategoryONtt_0.term_id=category.term_idWHERE (p.post_type=?) AND (p.post_type=?) AND (p.post_status=?) AND (p.post_name=?) AND (tt_0.taxonomy=?) GROUP BYp.id,p.post_type,p.post_name,p.post_title,p.post_status,p.post_excerpt,p.post_date,p.post_modified,p.post_content,category_id,category_name,category_slugLIMIT1
SELECTp.id,p.post_type,p.post_name,p.post_title,p.post_status,p.post_excerpt,p.post_date,p.post_modified,p.post_content,MAX(
CASEWHENpm_self.meta_key='_thumbnail_id'THENpm_self.meta_valueEND
) AS`thumbnail_id`,category.term_idAScategory_id,category.nameAScategory_name,category.slugAScategory_slugFROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idINNER JOINwp_term_relationshipstr_0ONp.id=tr_0.object_idINNER JOINwp_term_taxonomytt_0ONtr_0.term_taxonomy_id=tt_0.term_taxonomy_idINNER JOINwp_termscategoryONtt_0.term_id=category.term_idWHERE
(p.post_type=?)
AND (p.post_type=?)
AND (p.post_status=?)
AND (p.post_name=?)
AND (tt_0.taxonomy=?)
GROUP BYp.id,p.post_type,p.post_name,p.post_title,p.post_status,p.post_excerpt,p.post_date,p.post_modified,p.post_content,category_id,category_name,category_slugLIMIT1
SELECTp.id,p.post_type,p.post_name,p.post_title,p.post_status,p.post_excerpt,p.post_date,p.post_modified,p.post_content,MAX(CASEWHENpm_self.meta_key='_thumbnail_id'THENpm_self.meta_valueEND) AS`thumbnail_id`,category.term_idAScategory_id,category.nameAScategory_name,category.slugAScategory_slugFROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idINNER JOINwp_term_relationshipstr_0ONp.id=tr_0.object_idINNER JOINwp_term_taxonomytt_0ONtr_0.term_taxonomy_id=tt_0.term_taxonomy_idINNER JOINwp_termscategoryONtt_0.term_id=category.term_idWHERE (p.post_type='menu') AND (p.post_type='menu') AND (p.post_status='publish') AND (p.post_name='western-room') AND (tt_0.taxonomy='reform_category') GROUP BYp.id,p.post_type,p.post_name,p.post_title,p.post_status,p.post_excerpt,p.post_date,p.post_modified,p.post_content,category_id,category_name,category_slugLIMIT1;
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND) AS`attached_file`,MAX(CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE (p.post_type=?) AND (p.id=?) GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(
CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND
) AS`attached_file`,MAX(
CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND
) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE
(p.post_type=?)
AND (p.id=?)
GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND) AS`attached_file`,MAX(CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE (p.post_type='attachment') AND (p.id='1917') GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1;
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND) AS`attached_file`,MAX(CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE (p.post_type=?) AND (p.id=?) GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(
CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND
) AS`attached_file`,MAX(
CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND
) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE
(p.post_type=?)
AND (p.id=?)
GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND) AS`attached_file`,MAX(CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE (p.post_type='attachment') AND (p.id='5117') GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1;
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND) AS`attached_file`,MAX(CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE (p.post_type=?) AND (p.id=?) GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(
CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND
) AS`attached_file`,MAX(
CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND
) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE
(p.post_type=?)
AND (p.id=?)
GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND) AS`attached_file`,MAX(CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE (p.post_type='attachment') AND (p.id='5033') GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1;
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND) AS`attached_file`,MAX(CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE (p.post_type=?) AND (p.id=?) GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(
CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND
) AS`attached_file`,MAX(
CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND
) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE
(p.post_type=?)
AND (p.id=?)
GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND) AS`attached_file`,MAX(CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE (p.post_type='attachment') AND (p.id='4970') GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1;
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND) AS`attached_file`,MAX(CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE (p.post_type=?) AND (p.id=?) GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(
CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND
) AS`attached_file`,MAX(
CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND
) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE
(p.post_type=?)
AND (p.id=?)
GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND) AS`attached_file`,MAX(CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE (p.post_type='attachment') AND (p.id='4641') GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1;
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND) AS`attached_file`,MAX(CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE (p.post_type=?) AND (p.id=?) GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(
CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND
) AS`attached_file`,MAX(
CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND
) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE
(p.post_type=?)
AND (p.id=?)
GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND) AS`attached_file`,MAX(CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE (p.post_type='attachment') AND (p.id='4161') GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1;
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND) AS`attached_file`,MAX(CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE (p.post_type=?) AND (p.id=?) GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(
CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND
) AS`attached_file`,MAX(
CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND
) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE
(p.post_type=?)
AND (p.id=?)
GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND) AS`attached_file`,MAX(CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE (p.post_type='attachment') AND (p.id='3992') GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1;
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND) AS`attached_file`,MAX(CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE (p.post_type=?) AND (p.id=?) GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(
CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND
) AS`attached_file`,MAX(
CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND
) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE
(p.post_type=?)
AND (p.id=?)
GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND) AS`attached_file`,MAX(CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE (p.post_type='attachment') AND (p.id='3765') GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1;
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND) AS`attached_file`,MAX(CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE (p.post_type=?) AND (p.id=?) GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(
CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND
) AS`attached_file`,MAX(
CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND
) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE
(p.post_type=?)
AND (p.id=?)
GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND) AS`attached_file`,MAX(CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE (p.post_type='attachment') AND (p.id='3551') GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1;
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND) AS`attached_file`,MAX(CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE (p.post_type=?) AND (p.id=?) GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(
CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND
) AS`attached_file`,MAX(
CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND
) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE
(p.post_type=?)
AND (p.id=?)
GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND) AS`attached_file`,MAX(CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE (p.post_type='attachment') AND (p.id='3466') GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1;
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND) AS`attached_file`,MAX(CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE (p.post_type=?) AND (p.id=?) GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(
CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND
) AS`attached_file`,MAX(
CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND
) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE
(p.post_type=?)
AND (p.id=?)
GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND) AS`attached_file`,MAX(CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE (p.post_type='attachment') AND (p.id='3430') GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1;
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND) AS`attached_file`,MAX(CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE (p.post_type=?) AND (p.id=?) GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(
CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND
) AS`attached_file`,MAX(
CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND
) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE
(p.post_type=?)
AND (p.id=?)
GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND) AS`attached_file`,MAX(CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE (p.post_type='attachment') AND (p.id='3349') GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1;
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND) AS`attached_file`,MAX(CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE (p.post_type=?) AND (p.id=?) GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(
CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND
) AS`attached_file`,MAX(
CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND
) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE
(p.post_type=?)
AND (p.id=?)
GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1
SELECTp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,MAX(CASEWHENpm_self.meta_key='_wp_attached_file'THENpm_self.meta_valueEND) AS`attached_file`,MAX(CASEWHENpm_self.meta_key='_wp_attachment_metadata'THENpm_self.meta_valueEND) AS`attachment_metadata`FROMwp_postspLEFT JOINwp_postmetapm_selfONp.id=pm_self.post_idWHERE (p.post_type='attachment') AND (p.id='3196') GROUP BYp.id,p.post_author,p.post_date,p.post_date_gmt,p.post_content,p.post_title,p.post_excerpt,p.post_status,p.comment_status,p.ping_status,p.post_password,p.post_name,p.to_ping,p.pinged,p.post_modified,p.post_modified_gmt,p.post_content_filtered,p.post_parent,p.guid,p.menu_order,p.post_type,p.post_mime_type,p.comment_count,p.idLIMIT1;
The field 'App\Entity\WordPressPostEntity#id' has the property type 'int' that differs from the metadata field type 'string' returned by the 'bigint' DBAL type.
The field 'App\Entity\WordPressPostEntity#postAuthor' has the property type 'int' that differs from the metadata field type 'string' returned by the 'bigint' DBAL type.
The field 'App\Entity\WordPressPostEntity#postParent' has the property type 'int' that differs from the metadata field type 'string' returned by the 'bigint' DBAL type.
The field 'App\Entity\WordPressPostEntity#commentCount' has the property type 'int' that differs from the metadata field type 'string' returned by the 'bigint' DBAL type.
The field 'App\Entity\WordPressTermTaxonomyEntity#id' has the property type 'int' that differs from the metadata field type 'string' returned by the 'bigint' DBAL type.
The field 'App\Entity\WordPressTermEntity#id' has the property type 'int' that differs from the metadata field type 'string' returned by the 'bigint' DBAL type.