minutils / feed-on-feeds

Released in 2003, saw the rise and fall of Google Reader, reached perfection in 2011
http://feedonfeeds.com/
GNU General Public License v2.0
14 stars 9 forks source link

Warning: Invalid argument supplied for foreach() in /home/foo/public_html/f/fof-main.php on line 990 #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Disable 'Delicious', 'Sharing' and 'Wordpress' plugins, though I think only
the delicious one is relevant.

The following error message will show up when viewing feeds:
Warning: Invalid argument supplied for foreach() in
/home/foo/public_html/f/fof-main.php on line 990

I've fixed it by editing th fof_get_widgets function and adding the
following after global $fof_item_widgets; (line 989):

    if (!is_array($fof_item_widgets))
    {
        return false;
    }

Original issue reported on code.google.com by colinf...@gmail.com on 6 Nov 2007 at 8:43

GoogleCodeExporter commented 9 years ago
Forgot to mention, this is on svn trunk.

Original comment by colinf...@gmail.com on 6 Nov 2007 at 8:46

GoogleCodeExporter commented 9 years ago
Applied your fix as r165.  Thanks!

Original comment by stevemin...@gmail.com on 9 Dec 2007 at 3:54