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’);
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.