Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

[Solved][Documentation] Not working with (Cannot redeclare debug())*

edited April 2012 in Vanilla 2.0 - 2.8

Does this work with

I'm getting the following when enabling this plugin:

Fatal error:  Cannot redeclare debug() (previously declared in /hermes/web05/b2678/ in /hermes/web05/b2678/ on line 244


  • Options
    edited April 2012

    Seems to work now. Once I removed the following from MagpieFeeds/magpierss/ on line 244

    **function debug ($debugmsg, $lvl=E_USER_NOTICE) {
        trigger_error("MagpieRSS [debug] $debugmsg", $lvl);
        Function:   magpie_error
        Purpose:    accessor for the magpie error variable
    function magpie_error ($errormsg="") {
        global $MAGPIE_ERROR;
        if ( isset($errormsg) and $errormsg ) { 
            $MAGPIE_ERROR = $errormsg;
        return $MAGPIE_ERROR;   
  • Options

    Remove the following: from line 242 - 244

    function debug ($debugmsg, $lvl=E_USER_NOTICE) {
    trigger_error("MagpieRSS [debug] $debugmsg", $lvl);

Sign In or Register to comment.