Title: taker93's Replies | WordPress.org

---

# taker93

  [  ](https://wordpress.org/support/users/taker93/)

 *   [Profile](https://wordpress.org/support/users/taker93/)
 *   [Topics Started](https://wordpress.org/support/users/taker93/topics/)
 *   [Replies Created](https://wordpress.org/support/users/taker93/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/taker93/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/taker93/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/taker93/engagements/)
 *   [Favorites](https://wordpress.org/support/users/taker93/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [500 error trying to access Updates and Plugin pages](https://wordpress.org/support/topic/500-error-trying-to-access-updates-and-plugin-pages/)
 *  [taker93](https://wordpress.org/support/users/taker93/)
 * (@taker93)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/500-error-trying-to-access-updates-and-plugin-pages/#post-9027855)
 * I’m facing the same problem at the moment.
 * Another thing that’s not working ATM is the Jetpack-Statistics. There is only
   an error message showing with the following message:
 * `http_request_failed: "cURL error 7: "`
 * Edit: But only one of my sites is showing this error since a few hours. Others
   are working.
    -  This reply was modified 9 years, 1 month ago by [taker93](https://wordpress.org/support/users/taker93/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WP_Query returns post multiple times](https://wordpress.org/support/topic/wp_query-returns-post-multiple-times/)
 *  Thread Starter [taker93](https://wordpress.org/support/users/taker93/)
 * (@taker93)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp_query-returns-post-multiple-times/#post-6524751)
 * Found out, that the problem was caused by wrong pagination. I disabled the inifinite-
   scroll script and changed the way of querying.
 * These posts were very helpful:
    [[resolved] Pagination with wp_query and custom post type](https://wordpress.org/support/topic/pagination-with-wp_query-and-custom-post-type?replies=3)
   [[resolved] infinitescroll and wp_query is repeating posts](https://wordpress.org/support/topic/infinitescroll-and-wp_query-is-repeating-posts?replies=4)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WP_Query returns post multiple times](https://wordpress.org/support/topic/wp_query-returns-post-multiple-times/)
 *  Thread Starter [taker93](https://wordpress.org/support/users/taker93/)
 * (@taker93)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp_query-returns-post-multiple-times/#post-6524454)
 * Well…the posts are somekind of unique now. BUT: Now I see the navigation buttons,
   which should not be displayed…
 * Thank you so far.
 * Edit:
    Result without categories is still: Posts are not unique.
 * Edit 2:
    I tried:
 *     ```
       <?php $not_again = array();
       				$args = array( 'numberposts' => 4, 'meta_key' => 'ratings_average', 'orderby' => 'meta_value_num', 'order' => 'DESC','category_name' => 'showcase', );
       				$postslist = get_posts( $args );
       				foreach ( $postslist as $post ) :
       				$not_again[] = $post->ID;
       				setup_postdata( $post );
       			?>
       ```
   
 * …
 *     ```
       <?php
       			endforeach;
       			wp_reset_postdata();
       		?>
       ```
   
 *     ```
       <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
       			<?php if ( in_array(get_the_ID(), $not_again) ) continue; ?>
       ```
   
 * …
 *     ```
       <?php endwhile;
       		else :
       			echo prpin_get_no_result();
       		endif;
       		wp_reset_postdata();
        		?>
       ```
   
 * Result is: Posts are unique. But “previous”-Button is being shown.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WP_Query returns post multiple times](https://wordpress.org/support/topic/wp_query-returns-post-multiple-times/)
 *  Thread Starter [taker93](https://wordpress.org/support/users/taker93/)
 * (@taker93)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp_query-returns-post-multiple-times/#post-6524448)
 * Hi Tejas,
 * thank you for the reply.
 * I’m already using
 *     ```
       <?php
       			endforeach;
       			wp_reset_postdata();
       		?>
       ```
   
 * at the end of the first loop.
 * I don’t know if i can use it at the end of the second because the theme uses 
   Masonry.js . (somekind of infinite scroll stuff)

Viewing 4 replies - 1 through 4 (of 4 total)