Need help with wordpress plugin and simplepie

Discussion in 'HTML & Website Design' started by rpcity, Dec 28, 2007.

  1. #1
    Whenever I activate this plugin (wp-autoblog 2.0) I get the following error

    "Fatal error: Cannot redeclare class simplepie in /home/content/d/b/w/dbwise/html/wp-content/plugins/wp-autoblog/simplepie.inc on line 346"

    From what I understand through researching this is caused by "all plugins calling for the pie class have to test for its existence FIRST." I have found the following code

    // Include the required SimplePie library.

    if(!class_exists("SimplePie"))
    {
    require_once $simplepiefile;
    }

    that was suggested in another forum, but I do not know where to insert the code. Please, any help would be greatly appreciated as I am having a hard time with this.


    Deb
     
    rpcity, Dec 28, 2007 IP