Support » Fixing WordPress » wp-stats.php

  • Resolved Jenniferr


    I am having a problem with my wp-stats.php page.

    If you mouse over/go to any of these links found at –
    – 10 recent posts
    – 10 recent comments
    – 10 most commented posts

    You won’t go to the page that it’s said to be.. you just go to index.php?p=

    How would I fix this problem?

    I am on 1.2 (and I wish not to upgrade but if it’s the only way..)

    My code for wp-stats.php is found at –

    Much help appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Jennifer,

    Search for get_permalink(); calls in that file and change it to get_permalink($post_id);.

    That should hopefully fix it.


    Parse error: parse error, unexpected ‘.’ in /home/moodii/public_html/blog/wp-stats.php on line 63

    I get this when doing that.

    Line 63 = $recentposts = $wpdb->get_results(“SELECT $tableposts.ID as post_id, post_title, post_name,

    That’s very strange. Could you grab the latest version from GamerZ site and give that a shot. The version on his site is slightly different and should hopefully work without any modifications.


    Thanks. I didn’t know there was a download there.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘wp-stats.php’ is closed to new replies.