Support » Plugin: Stats » [Plugin: Stats] post_id no longer returns a value

  • I’ve been using the ‘How do I add a Top Posts widget to my blog?’ trick from the bottom of this page

    I finally figured out why it stopped working for me (the way I use it) a few days ago – the post_id variable in the array stopped being set.

    For the home page it is being set to 0, and for all other pages I checked it is just empty. var_dump($top_posts) to see what I mean.

    Is this coming back – I really need it.


Viewing 5 replies - 1 through 5 (of 5 total)
  • Same here.

    I noticed that post_title is also blank and post_permalink is set to the same root URL for every post. Here’s the info returned for my site:

    0,Home page,,2307

    Would be nice to know if this is going to be fixed.

    Thanks, Steve

    FYI, post_title and post_permalink are working fine for me.

    Anyone know if this forum is read by people who can fix or explain this problem?



    Have installed the Jetpack plugin which I believe supersedes the Stats plugin.

    My stats appear to be showing correctly on the WP Dashboard and the information I’m getting using the API is a little better.

    While I’m seeing post_id for some of my posts now, those posts have the correct post_title and post_permalink. The others without post_id still have other erroneous data.

    Regards, Steve.

    OK, now things are changing… post_id is there (yay) but post_permalink doesn’t respect the permalink format of the blog. It is in the http://BLOGURL/?p=24087 format.

    That I can live with, but I’m still going to wait a day or so before turning this all back on on my site. Since I haven’t seen an official post about what is going on, I don’t know if post_id will *keep* working or not.

    But like I said, ‘yay’ for the return of post_id.

    Thank you mystery programmer!

    Good grief, I posted too soon. Now post_title is gone…

    I’ll look at this again tomorrow 😉

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Stats] post_id no longer returns a value’ is closed to new replies.