Site-wide post plugin/widget duplicating posts

If you look at http://voices.wooster.edu you’ll see that the recent posts are being duplicated. I’m not sure what is causing this. It started after we had to revert the database to a state prior to when the post indexer and site-wide post plugins were installed. I’m not sure what could be up.

  • Aaron
    • Ex Staff

    It started after we had to revert the database to a state prior to when the post indexer and site-wide post plugins were installed. I’m not sure what could be up.

    That would be your issue. Sounds like you have duplicate entries in the site wide posts db table. You will either have to manually, remove them from the table, or empty it and start fresh from this point on.

    You may also be able to recover just that table from your db backup.

  • wooster
    • Design Lord, Child of Thor

    Except the posts that are being duplicated are new posts. The posts that were lost in the incident and reentered in the blogs were not duplicated. That is what is bugging me. All of the sudden the plugins are creating duplicate entries for any new posts.

  • Aaron
    • Ex Staff

    Ah, I see your problem. It looks like you also have Donncha’s Sitewide tags plugin installed. That creates a new blog that also collects sitewide posts.

    Our plugin is indexing both the original blog and the tags blog. Remove sitewide tags and you should be good from here forward.

  • Aaron
    • Ex Staff

    Aaron, does the indexer here pull posts from blogs marked as mature? if not, I would just mark the blog using Donncha’s plugin as mature. That way the posts won’t import anywhere but the blog will still be indexable.

    It filters out (doesn’t index or removes from index) ‘public’, ‘archived’, ‘mature’, ‘spam’, and ‘deleted’ blogs. That can be easily modified in source though for your naughty sites.

  • Andrew
    • Champion of Loops

    The white screen of death indicates an error. If you provide us with the error (look in your error log) we can see what’s going wrong.

    That said, I wouldn’t be surprised if the issue is caused by the older version of WPMU. You should really upgrade due to security issues that have been resolved in versions since 2.7.1. Counting minor versions there have been eight releases since 2.7.1.

    Thanks,

    Andrew

  • wooster
    • Design Lord, Child of Thor

    I know. We tried to upgrade last week and encountered an error with a plugin. Before I got the issues sorted out the sys admin had done a restore to the backups made right before the upgrade. Except his database backups for the past six weeks had been corrupt. So we lost six weeks of posts and accounts. I’ve spent the last week restoring what we were able to pull from Google’s caches. Needless to say, he is a little gun shy about upgrading. I’ll look at the error logs when I try installing again.

  • Andrew
    • Champion of Loops

    I’ll look at the error logs when I try installing again

    Cool. If it’s a problem with the plugin we’ll get it fixed. However, if it’s a problem caused by the older version of WPMU then you’ll just have to upgrade I’m afraid.

    Thanks,

    Andrew

  • wooster
    • Design Lord, Child of Thor

    That was my solution Aaron. Plugins had been disabled before upgrade. Then enabled after. At that point a problem was discovered that didn’t impact my test user or admin. I was in meetings for most of that time and before I could disable the plugin again my sys admin did a revert, without my go ahead. Made for a long week.