WordPress データベースエラー: [Not unique table/alias: 'wp_postmeta']
SELECT DISTINCT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) INNER JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) INNER JOIN wp_postmeta AS mt2 ON ( wp_posts.ID = mt2.post_id ) INNER JOIN wp_postmeta AS mt3 ON ( wp_posts.ID = mt3.post_id ) LEFT JOIN wp_postmeta ON wp_posts.ID = wp_postmeta.post_id LEFT JOIN wp_term_relationships AS trel ON (wp_posts.ID = trel.object_id) LEFT JOIN wp_term_taxonomy AS ttax ON ( ( ttax.taxonomy = 'category' OR ttax.taxonomy = 'post_format' OR ttax.taxonomy = 'product_brand' OR ttax.taxonomy = 'feature_category' OR ttax.taxonomy = 'vocabulary_type' OR ttax.taxonomy = 'vocabulary_syllabary' OR ttax.taxonomy = 'vocabulary_relation' OR ttax.taxonomy = 'news_category' ) AND trel.term_taxonomy_id = ttax.term_taxonomy_id) LEFT JOIN wp_terms AS tter ON (ttax.term_id = tter.term_id) LEFT JOIN wp_comments AS cmt ON ( cmt.comment_post_ID = wp_posts.ID ) WHERE 1=1 AND ( ( ( ( wp_postmeta.meta_key = 'tieup_start_date' AND CAST(wp_postmeta.meta_value AS DATETIME) <= '2022-05-28 05:58' ) AND ( mt1.meta_key = 'tieup_end_date' AND CAST(mt1.meta_value AS DATETIME) >= '2022-05-28 05:58' ) AND ( mt2.meta_key = 'tieup_img_pc' AND mt2.meta_value != '' ) AND ( mt3.meta_key = 'tieup_img_sp' AND mt3.meta_value != '' ) ) AND wp_posts.post_type = 'tieup' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled')) AND post_type != 'revision') AND post_status != 'future' GROUP BY wp_posts.ID ORDER BY RAND() LIMIT 0, 1

SEARCH 時計・記事を探す

該当件数:
0点

該当する記事がありません。

SEARCH 時計・記事を探す

時計 登録本数1919本!

PICKUP CONTENT おすすめコンテンツ