Forums

phantom archive year (3 posts)

  1. Shelley Keith
    Member
    Posted 3 years ago #

    I've got a "0" displayed as a category under my yearly archives, and I can't find the source. The issue can be seen at http://police.southernarkansasuniversity.info/.

    Does anyone have a clue where I can find/fix this? I've been digging around in the DB but haven't been able to find the culprit.

  2. tomontoast
    Member
    Posted 3 years ago #

    Yeah, that is weird. I've never seen that happen before. I'm not sure where the problem is coming from. Do you have any posts with a publish date in the future?
    Could you find in your template files (probably sidebar.php) a function wp_get_archives() and tell me what parameters are in the brackets?

  3. MichaelH
    Volunteer
    Posted 3 years ago #

    You have a post (or posts) with zero or invalid dates. Use phpMyadmin to find the culprit in your wp_posts table.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags