• Hello, i when i use meta_query in the query, for some reason i get duplicated posts in the result in pagination pages

    i run this SQL generated code in db, it shows different results each time

    https://snipboard.io/rvoZ7D.jpg

    https://snipboard.io/W4qfid.jpg

    https://snipboard.io/FCDgoL.jpg

    i don’t know if this is has to do with the plugin

    here is the SQL

    
    SELECT SQL_CALC_FOUND_ROWS eepir_posts.ID FROM eepir_posts INNER JOIN eepir_postmeta ON ( eepir_posts.ID = eepir_postmeta.post_id ) WHERE 1=1 AND ( ( eepir_postmeta.meta_key = 'is_english' AND eepir_postmeta.meta_value != '1' ) ) AND eepir_posts.post_type = 'new' AND (eepir_posts.post_status = 'publish' OR eepir_posts.post_status = 'acf-disabled' OR eepir_posts.post_status = 'private') GROUP BY eepir_posts.ID ORDER BY eepir_posts.post_date DESC LIMIT 6, 3
    

The topic ‘duplicated posts in pagination’ is closed to new replies.