• Hi,

    I am running a WordPress network site and am trying to include feeds from other sites, outside my network, using the fetch_feed function. I have the same design set up on a regular install of WordPress and it is working fine but on the network blog its not. This is the error:

    Fatal error: Call to undefined function fetch_feed()

    Thanks
    grant

Viewing 15 replies - 16 through 30 (of 46 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Try changing

    require('http://www.rantsports.com/wp-includes/feed.php');

    to

    include_once('http://www.rantsports.com/wp-includes/feed.php');

    Thread Starter gbrown88

    (@gbrown88)

    I just did, still not working.

    I did originally have it at include_once. Hosting company was trying to help as well and suggested trying that change, but I believe they’ve given up.

    Thread Starter gbrown88

    (@gbrown88)

    Still not working if anyone has suggestions.

    I did try something else, I installed SimplePie.org and tried using it through there, but now I get this error at the bottom of my site:

    Warning: ./cache/9ee5fb074d98a66dc4eff5885d240951.spc is not writeable in http://www.rantsports.com/php/simplepie.inc on line 1779

    Any suggestions?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Turn off ALL your plugins and try it?

    Thread Starter gbrown88

    (@gbrown88)

    Alright, what would be the steps to creating a mirrored version of my site so I don’t have to turn them off on the live site?

    Thanks

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Copy everything, search for olddomain and replace with new… But.

    Sometimes you gotta turn ’em off. We can try it simpler. Do you have any caching plugins? Turn THAT off.

    Thread Starter gbrown88

    (@gbrown88)

    Am not running any caching currently

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Warning: ./cache/9ee5fb074d98a66dc4eff5885d240951.spc is not writeable in http://www.rantsports.com/php/simplepie.inc on line 1779

    Then that makes even less sense…

    Thread Starter gbrown88

    (@gbrown88)

    Forgot to mentioned that I changed up the code a bit:

    http://pastebin.com/eErL4bes

    I installed simplepie.org and followed their install instructions. I’ve tried several different CHMOD permissions, nothing seems to be working.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Do the plugin dance, man 🙁 Sucks, but that’s all I can think of.

    I tossed the original code (this http://pastebin.com/QD6EC5Zx with only removal of your images and direct calls to your site) up on http://test.ipstenu.org/ and if you look in the footer you’ll see that it works.

    Thread Starter gbrown88

    (@gbrown88)

    Alright, thanks. I also pasted it on a single install version of the site and it worked to. Do you think you could be related to using subdirectories?

    Thanks

    Thread Starter gbrown88

    (@gbrown88)

    Alright, so just played the plugin game, with little success. I uninstalled everything one by one except for 2 plugins that I don’t believe I can afford to shutoff, otherwise they’ll mess up several things within my site, those are:

    Twitter Blackbird Pie
    WordPress MU Sitewide Tags Pages

    Know of any other scripts I can try using for this?

    Thanks

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Do you think you could be related to using subdirectories?

    It would be VERY unlikely.

    You can turn off Twitter Blackbird Pie momentarily for a test, but …

    It’s either themes or plugins :/

    Thread Starter gbrown88

    (@gbrown88)

    Turned off Blackbird Pie, no success.

    Is there anything in my header I could be missing that would be needed?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    If you have a call to wp_head() you should be fine.

Viewing 15 replies - 16 through 30 (of 46 total)
  • The topic ‘fetch_feed Function Not Working’ is closed to new replies.