• Resolved gracepl

    (@gracepl)


    Hi Marcel,

    My client has the old version of related (1.1, by Matthias Siegel) installed.

    They’ve got related posts set for a lot of posts. But it’s suddenly stopped attaching related posts. So I’m thinking it’s best if we update to your new version of related instead.

    I’m just wondering if there’s a fairly straightforward way of doing this? I tried simply replacing the plugin with yours and quite unsurprisingly it didn’t retain the related posts that had been set (I’m sure you’ve got data retrieval working quite differently to 1.1).

    I’m happy to export data from the database directly, I’m just not sure where to find the fields that relate to the plugin. Assuming they’d be somewhere in wp_postmeta table?

    If you could point me in the right direction that would be great. This will save a lot of time, rather than me having to go through and re-add related posts to about 100 posts.

    Cheers,
    Grace

    https://www.ads-software.com/plugins/related/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Marcel Pol

    (@mpol)

    Hello Grace,

    I wouldn’t think there’s anything changed in the way the data gets stored. I would think it’s just a meta-key for a post with an array with post_id’s as value.

    The only thing I can think of is the naming of the variable, that was related-posts and related_posts in different parts. But I would expect me to not change the name of the meta-key itself, just the variable in the code.

    I haven’t tested upgrading from an original version to a current version. I only have installs which have been gradually upgraded.
    I will set up a test install, and see if I can find anything.

    Plugin Author Marcel Pol

    (@mpol)

    Hi again.
    I tested with a new test install. It’s WordPress 3.4, with a clean install of Related 1.1. I set a post with 1 related post, and one with 2 related posts.
    After upgrading Related to 1.5.4 it still listed all the related posts.

    I would think there is something in your install that is playing up. Can you maybe send the a zipfile of the theme that you use, and send me a database dump of wp_posts and wp_postmeta?
    And maybe give a list of the additional plugins you use?

    Or maybe even before that, use regular debugging for WordPress to see if there’s anything you can find. Like disable all plugins and switch to a default theme. If you then have Related enabled, do you still see the related posts?
    And when enabling your theme and plugins, step by step, does it go wrong somewhere?
    I would be interested if you can find a conflict somewhere.

    Also, if you have a test setup, like you are testing this with a copy of the website. How does it work if everything, WordPress and all plugins, are updated to current versions?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Upgrading from an old version of related (1.1) to (1.5.4)’ is closed to new replies.