Title: [Plugin: Yoast Breadcrumbs] WARNING: array_slice
Last modified: August 19, 2016

---

# [Plugin: Yoast Breadcrumbs] WARNING: array_slice

 *  [palihapiz](https://wordpress.org/support/users/palihapiz/)
 * (@palihapiz)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/plugin-yoast-breadcrumbs-warning-array_slice/)
 * Im using wordpress v2.7, my breadcrumb is showing and funtion good in my blog.
   but in my wp dashboard showing this: –
 * **Warning: array_slice() expects parameter 1 to be array, null given in /home/
   faseven/public_html/blogging/wp-content/plugins/breadcrumbs/yoast-posts.php on
   line 43
    No items
 * Is there any suggestion to fix it?

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

 *  [gp4thdukeofyork](https://wordpress.org/support/users/phorbidden/)
 * (@phorbidden)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/plugin-yoast-breadcrumbs-warning-array_slice/#post-940238)
 * I have the same issue
 *  [gp4thdukeofyork](https://wordpress.org/support/users/phorbidden/)
 * (@phorbidden)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/plugin-yoast-breadcrumbs-warning-array_slice/#post-940239)
 * I might have fixed this. Go to sociable.php and comment out the line before ?
   >
    change require_once(“yoast-posts.php”); to //require_once(“yoast-posts.php”);
 * Looks like it is some rss feed checker from yoast.com. Just get rid of it.
 *  [websnail](https://wordpress.org/support/users/websnail/)
 * (@websnail)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-yoast-breadcrumbs-warning-array_slice/#post-940282)
 * Not sure where you’re getting sociable.php from phorbidden but this fixed the
   issue for me:
 * Open: yoast-posts.php
 * Find:
    `$items = array_slice($rss->items, 0, 2)`
 * Replace with:
    `$items = is_array($rss->items) ? array_slice($rss->items, 0, 
   2) : '';`
 * That, at least stops the code erroring out..

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

The topic ‘[Plugin: Yoast Breadcrumbs] WARNING: array_slice’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [websnail](https://wordpress.org/support/users/websnail/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-yoast-breadcrumbs-warning-array_slice/#post-940282)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
