The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Post Categories Gone Missing, Page Categories Don't Show In Front End (3 posts)

  1. san65
    Posted 5 years ago #


    I have encountered a strange and unexpected problem. In the Posts >> Categories screen, the Categories list has gone missing, including the "Uncategorized" category. The individual posts under the categories are intact, although in the "Categories" tab in the Edit-Posts screen, I get to see the top-level category names (and not the sub-categories). Clicking on the correct top-level category does not have any impact. The tags list for the individual posts shows tags that belong to some other post.

    I have also installed the Page-Category plugin (Misiek). The page categories are intact in the Pages >> Categories screen. Also, in the EDIT of the individual Pages, the Page Attributes and the Categories are set correctly. However, in the frontend, the corresponding widget for Page Categories shows no listing of the category at all.

    I transferred the database and the WP environment to localhost, and amended the appropriate files (wp-config.php, wp_options, wp_posts) and set up the site in localhost. Here, not only are the post-categories showing up correctly, but also the tags are correctly linked to the individual posts. The page-category list also shows correctly in the widget in the frontend. The site on localhost is absolutely without any problem.

    In phpMyAdmin, wp_mpc_categories and wp_mpc_pages_categories tables are intact. (That is why the localhost site is working perfectly!) This is so for both the localhost database as well as the live site database - they are mirror images of each other.

    What could have gone wrong? This looks like some sort of wrong indexing to me. Wrong indexing which did not get carry-forwarded to the localhost environment. Any guidance from WP gurus and experts is most appreciated.

    I have the following plug-ins installed:

    1. Akismet 2.4.0,
    2. Fast Secure Contact Form,
    3. Misiek Page Category 2.2,
    4. WordPress Database Backup 2.2.3 and
    5. Wp-Members 2.3.2.

    Of these, the only plugin that I remember upgrading most recently is Akismet.

    Thanks in advance.

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    Have you tried:

    - deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the Twenty Ten theme to rule out any theme-specific problems?

    - resetting the plugins folder by FTP or phpMyAdmin? Sometimes, an apparently inactive plugin can still cause problems.

    - re-uploading the wp-admin and wp-includes folders from a fresh download of WordPress?

    - increasing the memory available to PHP?

  3. san65
    Posted 5 years ago #

    Hello esmi,

    Thank you very much for providing various alternative solutions the problem I am facing; appreciated.

    However, this time when I once again loaded the site in the browser, the problem vanished! On its own! The only change that was discernible was in the specific post which I had tinkered with earlier. I had to go back into its EDIT and check the appropriate category box, and re-enter the tags. The site's functionality for both post-categories and page-categories is restored automatically, without any intervention whatsoever.

    This on-and-off random behavior is puzzling. Any clue on what might be causing such behavior?

    At the same time, I will keep a lookout for this behavior, and try out the different alternative solutions you have suggested when it recurs. One conjecture is that there was a problem in the indexing of the mySQL tables on the live server, which somehow got rectified when some automatic internal system-reindexing took place. It would be interesting to know if the others have faced the same or similar problem.

    Thanks once again.

Topic Closed

This topic has been closed to new replies.

About this Topic