• Resolved Steve

    (@steveatty)


    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"

    https://www.ads-software.com/extend/plugins/pagerank-tools/

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