• Resolved nickaster

    (@nickaster)


    This might be a problem in the database or something. Any help appreciated!

    I have an author, call him “George”

    George has 20 post. If I look at “users” in the back end I can see the number “20” next to his name.

    If, however, I click the number “20” then I only see 4 posts by george. In fact, if I go to his author page, there are indeed only 4 posts showing.

    If, however, I look at the overall archive of the site, I can clearly see 20 posts by george, which clearly say “by George” and show up as normal posts with him attributed.

    What’s going on?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter nickaster

    (@nickaster)

    Any chance some database sleuthing might shed light on this?

    Thread Starter nickaster

    (@nickaster)

    err… any ideas for how to diagnose this? my guess is this problem happened due to migration – this blog was recently migrated from Movable type. Would that make sense?

    Yes – it would. Have you checked the wp-posts table for posts by this user to see if you can find any difference between the posts being displayed and those that aren’t?

    Thread Starter nickaster

    (@nickaster)

    Very interesting, thank you! Okay so I looked at that table using phpMyAdmin and I do indeed see 20 posts by this particular author #123. It is the correct number, and is displayed correctly if I look at the list of users in the WP admin, but as described above, only 4 posts show when I move beyond that.

    What else should I be looking for?

    Is the post status the same on all 20 posts?

    Thread Starter nickaster

    (@nickaster)

    Yeah… all of them are set to “publish”

    Here’s the way it actually manifests on the site:

    This is a category page with most of the post by the author in question “Presidio Buzz”

    https://www.triplepundit.com/category/presidio-buzz/

    (you can see many more than 4 posts correctly listed by that author)

    But when we look at that author’s author page:

    https://www.triplepundit.com/author/pbuzz/

    We only see 5 posts – I may have miscounted before when I said there were only 4.

    The same thing happens in the back end.

    When did you migrate from Movable Type? Some of the “missing posts” are fairly recent.

    Thread Starter nickaster

    (@nickaster)

    About 3 weeks ago… All the posts were part of the migration, so it’s odd that 5 would make it through okay.

    Have you tried editing any of the missing posts and simply updating them? I’m wondering – if you push them through the WP system, will it automatically correct the problem?

    Thread Starter nickaster

    (@nickaster)

    Yes – updating them didn’t do anything. But…

    Aha!

    I have a fascinating clue – there happens to be a category called “Presidio Buzz” which is the same name as the author “PBuzz – Display name is Presidio Buzz”

    Those 5 stories that appear on the author page correctly were in OTHER categories. If I move one to the “Presidio Buzz” category then it disappears – now there are only 4.

    Is it possible that wordpress does not like categories with the same name as an existing author?

    Oh – that could be it!

    I’ve seen the odd strange behaviour on earlier WP version when there were matching tags/categories. And had a recent case where a matching page title/posts page url caused a problem but I’ve never tried a category/author match.

    If it’s confirmed as an issue, it could be with raising a ticket in Trac for this.

    Thread Starter nickaster

    (@nickaster)

    oh god! I figured it out. I’m an idiot. I had a category exclusion plugin turned on. I didn’t realize it would exclude categories from author pages, just though it would affect the front page. Live and learn. Thanks for the help!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Very Strange Author Problem – Not all posts showing up’ is closed to new replies.