Global Site Tags still showing "No Tags to Display"

Post Indexer is installed, has completed indexing all sites, AND all code was copied from working version on development server, but live server is displaying “No tags to display.”

I even logged out of WPMU Dev on dev server just to make sure it wasn’t a limitation on having 2 simultaneous instances going. Still not working on live server.

How can I get the tags that have already been indexed to appear?

  • Jude
    • DEV MAN

    Hi again @morgan Griffith

    Hope you’re doing great today.

    How long ago was this ?? it can initially take a couple or a few hours before they are all re-indexed, depending on your servers cron schedule.

    And just making sure all the usage instructions were followed on the LIVE site:

    https://premium.wpmudev.org/project/global-site-tags/#usage

    https://premium.wpmudev.org/project/post-indexer/#usage

    If so then please confirm the following tables exist in your DB:

    wp_site_posts

    wp_term_counts

    Also keep in mind the post indexer only indexes posts published or modified after it is installed

    As a last resort please take a backup and try clearing (emptying) the following tables (if they exist) :

    wp_site_posts
    wp_term_counts

    Then when they get indexed in the next cron it should work fine

    Cheers

    Jude

  • Morgan Griffith
    • WPMU DEV Initiate

    Hi there,

    Thanks for the quick reply. Post indexer was done yesterday on this site. I dropped that instance and re-indexed about 90 minutes ago. It is no longer showing any sites in the queue.

    Also, I confirmed that the wp_site_posts and wp_term_counts tables do NOT exist in either the dev instance (currently fully functioning) or the live site. There is a table called wp_network_posts in both databases.

    Anything else?

  • Morgan Griffith
    • WPMU DEV Initiate

    Nevermind. I figured it out.

    Now I have a separate issue. On my most used tag, and a few other random tags, one of the post titles from the posts list on the tag archive page is being duplicated into my primary navigation menu in place of one of my existing pages.

    Ever heard of anything like this before? Need me to start a new thread for this issue?

  • Morgan Griffith
    • WPMU DEV Initiate

    FYI – We uncovered the issue. On tag archive pages, when a post being returned in the network results shares the same WordPress post_id as one of the pages in the menu (normally a low number), your plugin will overwrite the page title in the navigation menu with the name of the post with the same id from another site.

    We fixed the issue, for now, by deleting the page with the conflicting post_id, and recreating it, which gave it a much higher post_id. The problem is, eventually, the client is going to publish a post at some point in the future that will once again have the same post_id as the new page we created, and the same issue will occur.

    Perhaps an update is in order to fix this issue in your plugin?

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.