Title: get_posts() broken in 2.0?
Last modified: August 18, 2016

---

# get_posts() broken in 2.0?

 *  Resolved [JoeyDay](https://wordpress.org/support/users/joeyday/)
 * (@joeyday)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/get_posts-broken-in-20/)
 * Just upgraded to WP 2.0. Is there any reason why [this code](http://pastebin.com/491106)
   shouldn’t work in 2.0?
 * You can see my site [here](http://www.joeyday.com). The code in question appears
   below the normal WP loop and is used to generate links to five additional posts(
   on the front page only) without excerpts. If you scroll down near the bottom 
   of the page in the main content column you’ll see a series of errors where the
   post titles and information should appear.
 * Thanks in advance for any help you can provide.

Viewing 1 replies (of 1 total)

 *  Thread Starter [JoeyDay](https://wordpress.org/support/users/joeyday/)
 * (@joeyday)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/get_posts-broken-in-20/#post-311182)
 * Never mind. Fixed it by modifying my code [thusly](http://pastebin.com/491119).

Viewing 1 replies (of 1 total)

The topic ‘get_posts() broken in 2.0?’ is closed to new replies.

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [get_posts](https://wordpress.org/support/topic-tag/get_posts/)
 * [upgrade](https://wordpress.org/support/topic-tag/upgrade/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [JoeyDay](https://wordpress.org/support/users/joeyday/)
 * Last activity: [20 years, 4 months ago](https://wordpress.org/support/topic/get_posts-broken-in-20/#post-311182)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
