Title: [Plugin: Sociable] Warning- array slice() message on dashboard
Last modified: August 19, 2016

---

# [Plugin: Sociable] Warning- array slice() message on dashboard

 *  [jacklenk](https://wordpress.org/support/users/jacklenk/)
 * (@jacklenk)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/plugin-sociable-warning-array-slice-message-on-dashboard/)
 * I just installed Yoast on WP 2.7.0 with Modularity theme from Graph Paper Press.
   It seems to work okay in the posts but on my WP Dashboard I get this message 
   in the Yoast box:
 * Warning: array_slice() expects parameter 1 to be array, null given in /data/13/
   0/5/86/5249/user/5360/htdocs/home/wp-content/plugins/sociable/yoast-posts.php
   on line 43
    – No items
 * Any ideas? Please advise.
    Thanks, Jack

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

 *  [cobaltwolf](https://wordpress.org/support/users/cobaltwolf/)
 * (@cobaltwolf)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/plugin-sociable-warning-array-slice-message-on-dashboard/#post-987625)
 * No problems under WP 2.7. However, I started getting a similar message after 
   I upgraded my local copy of WordPress to 2.7.1 (I always test WP locally before
   doing any updates on my live site):
 *     ```
       Warning: array_slice() expects parameter 1 to be array, null given in D:\xampp\htdocs\clubda\wp-content\plugins\sociable\yoast-posts.php on line 43
       No items
       ```
   
 * From what I could see, lines 42-43 of yoast-posts.php deal with fetching rss 
   feeds from feeds.feedburner.com/joostdevalk. Should I worry about this or would
   it be OK to update my live site to 2.7.1?
 *  [stanilund](https://wordpress.org/support/users/stanilund/)
 * (@stanilund)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/plugin-sociable-warning-array-slice-message-on-dashboard/#post-987629)
 * Could there be something wrong in rss.php in the includes dir, in the function
   fetch_rss(url)? The function does not return anything! Made some testing:`include_once(
   ABSPATH . WPINC . ‘/rss.php’);
    $rss = fetch_rss(‘[http://feeds.feedburner.com/joostdevalk&#8217](http://feeds.feedburner.com/joostdevalk&#8217););
   if ($rss == ”) { echo ‘
    - Flödet är tomt
    - ‘;
       }else if ($rss == 0){ echo ‘
    - Flödet är noll
    - ‘;
    -  }else{
       $items = array_slice($rss->items, 0, 2); } ` The url is correct –
      it works when I paste it into my beowser.

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

The topic ‘[Plugin: Sociable] Warning- array slice() message on dashboard’ is closed
to new replies.

 * 2 replies
 * 3 participants
 * Last reply from: [stanilund](https://wordpress.org/support/users/stanilund/)
 * Last activity: [17 years, 3 months ago](https://wordpress.org/support/topic/plugin-sociable-warning-array-slice-message-on-dashboard/#post-987629)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
