Forums

[Plugin: RSS Shortcode] Warning: array slice () (2 posts)

  1. wonderfullyrich
    Member
    Posted 3 weeks ago #

    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?

  2. godfreykfc
    Member
    Posted 2 weeks ago #

    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

Reply

You must log in to post.

About this Topic