Title: [Plugin: RSS Shortcode] Warning: array slice ()
Last modified: August 19, 2016

---

# [Plugin: RSS Shortcode] Warning: array slice ()

 *  [wonderfullyrich](https://wordpress.org/support/users/wonderfullyrich/)
 * (@wonderfullyrich)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/plugin-rss-shortcode-warning-array-slice/)
 * I’m getting a php warning when I use the RSS shortcode in the section-widgets.
 *     ```
       Warning: array_slice() [function.array-slice]: The first argument should be an array in /nfs/c02/h09/mnt/45405/domains/preview.status.ug/html/wp-content/plugins/rss-shortcode/rss-shortcode.php on line 21
       ```
   
 * These are the two shortcodes I’m currently using.
 *     ```
       [rss feed="http://feeds.feedburner.com/Appfrica" num="5" excerpt="false"/]
       ```
   
 * and
 *     ```
       [rss feed="http://www.africanews.com/rss/page/rss_news" num="5" excerpt="false"]
       ```
   
 * Can you help resolve this?

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

 *  [godfreykfc](https://wordpress.org/support/users/godfreykfc/)
 * (@godfreykfc)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/plugin-rss-shortcode-warning-array-slice/#post-1264089)
 * Hi,
 * I just copied and pasted the exact code you provided into my test site and it
   seems to work fine. Maybe it’s just a temporary issue? (e.g. feed is not available
   ATM)
 * Godfrey
 *  [newrambler](https://wordpress.org/support/users/newrambler/)
 * (@newrambler)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/plugin-rss-shortcode-warning-array-slice/#post-1264250)
 * I get this same error–or rather I get it about half the time, in some browsers
   but not others. I’m trying to pull a feed from my library website’s blog onto
   another page of the site, and that’s where the error shows up. It seems to be
   working fine for a Twitter feed that I’m pulling in on another post. So yeah,
   if there’s anyone who could shed some light on this, I’d be most grateful.
 *  [newrambler](https://wordpress.org/support/users/newrambler/)
 * (@newrambler)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/plugin-rss-shortcode-warning-array-slice/#post-1264251)
 * Upon further investigation, it looks like this plugin maybe just doesn’t like
   WordPress feeds. I’m now using the [blog-in-blog](http://informationtakesover.co.uk/blog-in-blog-wordpress-plugin/)
   plugin for WP-within-WP feeds, and it’s working beautifully.

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

The topic ‘[Plugin: RSS Shortcode] Warning: array slice ()’ is closed to new replies.

 * 3 replies
 * 3 participants
 * Last reply from: [newrambler](https://wordpress.org/support/users/newrambler/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/plugin-rss-shortcode-warning-array-slice/#post-1264251)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
