WordPress-Datenbank-Fehler: [Not unique table/alias: 'wp_postmeta']SELECT SQL_CALC_FOUND_ROWS DISTINCT wp_posts.ID
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 ) LEFT JOIN wp_postmeta ON wp_posts.ID = wp_postmeta.post_id
WHERE 1=1 AND (
wp_postmeta.meta_key = '_elementor_template_type'
AND
(
( mt1.meta_key = '_elementor_template_type' AND mt1.meta_value = 'popup' )
)
) AND wp_posts.post_type = 'elementor_library' AND ((wp_posts.post_status <> 'trash' AND wp_posts.post_status <> 'auto-draft'))
GROUP BY wp_posts.ID
ORDER BY wp_posts.post_date DESC
LIMIT 0, 1