Related Items
Related items gone after root url change (3 posts)

  1. THAWK
    Posted 2 years ago #

    Hi there,

    I have been working on an installation using this great plugin, doing exactly what I wanted it to do. As I have a few hundred pages I spent alot of time making related items on every page.

    Just now on going live I have changed the url from http://temp.... to http://www... in the required places, even did a find and replace in the database to make sure everywhere the new subdomain is correct.

    - suddenly it appears that all the related items are empty. If I reenter them, then ofcourse the plugin works fine, but where did they go? How can I get them back, any help is appreciated.

    If you want I can provide ftp login and admin.

    Best regards,


  2. shauno
    Posted 2 years ago #

    I have done some investigating on THAWK's behalf, and I have found a problem in the plugin.
    The plugin runs a new WP_Query inside the meta box function displayMetaBox(). This then messes up the $post object when it gets passed to subsequent custom meta boxes. I see you are calling wp_reset_query() after the loop, but I haven't investigated why that still causes the problem.

    Please let me know if there is any more information you need to investigate and resolve this issue.

  3. THAWK
    Posted 2 years ago #

    Hi Shauno,

    Thx for finding the problem!

    I hope the author of related items can fix this bug as I really like this plugin.
    It works very well and fast. Shame it messes up other plugins.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Related Items
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.