Title: get_posts function not working since the update
Last modified: August 22, 2016

---

# get_posts function not working since the update

 *  Resolved [ardufour](https://wordpress.org/support/users/ardufour/)
 * (@ardufour)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/get_posts-function-not-working-since-the-update/)
 * Greetings Rachel,
 * First of all, thank you for the update about the memory problem. It helped on
   the site.
 * Now, my problem is that the get_post function doesn’t work anymore. I didn’t 
   had any problem before the update. Here’s the code :
 *  `//Articles
    $articles = get_posts( array( ‘numberposts’ => -1, // we want to
   retrieve all of the posts ‘post_type’ => ‘post’, ‘auteur’ => $post->post_name,//
   we want posts who are tagged with the actors taxonomy term with the slug ‘tom-
   hanks’ ‘suppress_filters’ => false // this argument is required for CPT-onomies));
 *  if( $articles ) {
    ?><h3>Articles</h3> <ul><?php foreach ( $articles as $article){?
   ><li><a href=”<?php echo get_permalink( $article->ID ) ?>” title=”<?php echo 
   get_the_title( $article->ID ); ?>”><?php echo get_the_title( $article->ID ); ?
   ></a></li><?php } ?></ul><?php }`
 * It now displays nothing.
 * Thank you!
 * [https://wordpress.org/plugins/cpt-onomies/](https://wordpress.org/plugins/cpt-onomies/)

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

 *  Thread Starter [ardufour](https://wordpress.org/support/users/ardufour/)
 * (@ardufour)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/get_posts-function-not-working-since-the-update/#post-5667394)
 * Another thing I have noticed since the update : the loading of the post list 
   page in the admin is now terribly slow.
 * I am using the “Codepress Admin Columns” plugin to show in the columns the posts’
   relations created by CPT-onomies. For example, for the posts, it displays the
   CPT author and CPT collaborator.
 * I know cross plugin compatibility can be a pain, but if you have any clues about
   this, it would be great.
 *  [Rachel Cherry](https://wordpress.org/support/users/bamadesigner/)
 * (@bamadesigner)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/get_posts-function-not-working-since-the-update/#post-5667625)
 * Go download the development version on [the developers page](https://wordpress.org/plugins/cpt-onomies/developers/)
   and let me know if that helps.
 * I’ve noticed the memory issues a little and I’m currently trying a few tweaks
   to see if I can help.
 *  Thread Starter [ardufour](https://wordpress.org/support/users/ardufour/)
 * (@ardufour)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/get_posts-function-not-working-since-the-update/#post-5667695)
 * It is working with the dev version.
 * Thank you!
 *  [Rachel Cherry](https://wordpress.org/support/users/bamadesigner/)
 * (@bamadesigner)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/get_posts-function-not-working-since-the-update/#post-5667701)
 * Great! Thanks for letting me know! I’m trying to solve as many memory issues 
   as I can before I push out the update, which will definitely happen before the
   end of the weekend.
 *  [Rachel Cherry](https://wordpress.org/support/users/bamadesigner/)
 * (@bamadesigner)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/get_posts-function-not-working-since-the-update/#post-5667720)
 * FYI: I just pushed out version 1.3.3 with the fix so all should be well. Let 
   me know if you have any issues. Thanks!

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

The topic ‘get_posts function not working since the update’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cpt-onomies_f2f2f2.svg)
 * [CPT-onomies: Using Custom Post Types as Taxonomies](https://wordpress.org/plugins/cpt-onomies/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cpt-onomies/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cpt-onomies/)
 * [Active Topics](https://wordpress.org/support/plugin/cpt-onomies/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cpt-onomies/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cpt-onomies/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Rachel Cherry](https://wordpress.org/support/users/bamadesigner/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/get_posts-function-not-working-since-the-update/#post-5667720)
 * Status: resolved