WordPress.org

Support

Support » Plugins and Hacks » Pagerank tools » [Resolved] [Plugin: Pagerank tools] Globals defined in the wrong place!

[Resolved] [Plugin: Pagerank tools] Globals defined in the wrong place!

  • The pagerank-tools.php contains the following:

    $prtools_url_table=$wpdb->prefix."prtools_url";
    $prtools_pr_table=$wpdb->prefix."prtools_pr";
    
    global $prtools_url_table;
    global $prtools_pr_table;

    which basically defines the variables – and then sets them as globals : which redefines them as null;

    The code needs to be :

    global $prtools_url_table;
    global $prtools_pr_table;
    
    $prtools_url_table=$wpdb->prefix."prtools_url";
    $prtools_pr_table=$wpdb->prefix."prtools_pr"

    http://wordpress.org/extend/plugins/pagerank-tools/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Pagerank tools] Globals defined in the wrong place!’ is closed to new replies.
Skip to toolbar