WordPress.org

Forums

Yet Another Related Posts Plugin (YARPP)
[Plugin: Yet Another Related Posts Plugin] YARPP Post Duplicate Related Articles (51 posts)

  1. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 4 years ago #

    Renji was helpful enough to email me with a sample cache table with a duplicate, but I still haven't been able to reproduce this myself.

    Some quick questions for you fine folks:
    1. Are duplicates showing up on posts or pages?
    2. Did updating the post (i.e. creating a new revision) trigger the duplicates?
    3. Are you all really using Akismet? Does disabling Akismet prevent further duplicates from being created?

  2. adrianaa
    Member
    Posted 4 years ago #

    Trying to help...

    1) To me, Posts... But I don't use YARPP on pages.

    2) Sometimes, creating the post. If this don't trigger, any update make duplicates. Sometimes, a new revision create triples...

    3) I don't use Akismet, so, I really don't think this is the cause. I have Akismet in my plugin list, but not active.

    For the moment, my YARPP is active only for testing and I'm using another plugin with my Related Post Slider. This way, my users don't have problems with the duple suggestions, and I don't have to give up just yet (and I can see when the duplicates happens and will see when YARPP is stable again :) ) . Is kinda a suggestion to the folks with the same problem and who don't want give up. :)

  3. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 4 years ago #

    I just pushed version 3.2.1b2... please let me know if this helps this issue:

    http://downloads.wordpress.org/plugin/yet-another-related-posts-plugin.3.2.1b2.zip

  4. adrianaa
    Member
    Posted 4 years ago #

    So far, so good. Since the problem started, this is the longest period of time (and work, 8 or 10 articles added and edited) with no duplicates. I'm really hopeful that has been solved! :) :) :)

  5. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 4 years ago #

    Great!

  6. valandilearfalas
    Member
    Posted 4 years ago #

    Awesome work fixing it Mitcho! It now works for me.

  7. adrianaa
    Member
    Posted 4 years ago #

    Just in time for the official launch of my site. Thank you very very very much! :)

    PS: the last 24 hours, I tested the plugin making numerous edits, additions, changes of tag, forcing it in every way. 100% satisfactory result.

  8. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 4 years ago #

    Great! Thank you guys for the reports. Looks like this issue will be resolved in 3.2.1 then.

  9. valandilearfalas
    Member
    Posted 4 years ago #

    Hmmm, it looks like multiple category pages have the same similar posts, and it looks like there are still some duplicate similar post suggestion, although the number is significantly lower. You can check out an example here:

    http://www.australiancreditcards.com.au/best-credit-cards/

    http://www.australiancreditcards.com.au/best-travel-card/

    http://www.australiancreditcards.com.au/travel-money-cards/

    All have same suggestions and in those suggestions, two of five is duplicate.

    Thanks.

  10. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 4 years ago #

    @valandilearfalas, can you make sure in phpmyadmin, say, that the primary key on wp_yarpp_related_cache is (related_ID, ID)?

    Alternatively, if you can get a dump of the table and send it to me (yarpp@mitcho.com), I can tell based on that.

  11. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 4 years ago #

    Also, I just pushed one more beta, beta 4... if some of you guys want to try this out, it shouldn't affect this particular bug, but... just in case... would love to get feedback on it to make sure it works for everyone. :)

    http://downloads.wordpress.org/plugin/yet-another-related-posts-plugin.3.2.1b4.zip

  12. valandilearfalas
    Member
    Posted 4 years ago #

    Hey Mitcho,

    I sent you the dump a few days ago. Any chance of figuring it out?

    Thanks.

  13. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 4 years ago #

    @valandilearfalas, YARPP 3.2.1 has already been released, a couple weeks ago. Please see if that fixes the issue. It should.

  14. valandilearfalas
    Member
    Posted 4 years ago #

    Hi Mitcho,

    I am already using 3.2.1 and if you see this post, it still has duplicate related articles:
    http://www.australiancreditcards.com.au/rewards-credit-cards/
    http://www.australiancreditcards.com.au/purchase-card/
    http://www.australiancreditcards.com.au/interest-free-credit-cards/

    The all have the same related articles, and out of the 5 that are displayed, 2 are duplicates.

    Thanks.

  15. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 4 years ago #

    @valandilearfalas hmm, very odd... Please try dropping (not just truncating) the yarpp_related_cache table in your database. That should trigger YARPP to recreate it with the new fix. Hopefully that'll fix it once and for all.

  16. djam1317
    Member
    Posted 4 years ago #

    hi mitcho!
    Any luck on how to fix the duplicate posts?
    Great plugin by the way.

  17. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 4 years ago #

    @djam1317 this issue should be resolved by version 3.2.1.

  18. djam1317
    Member
    Posted 4 years ago #

    Hello again Mitcho.
    I am working with valandilearfalas and we have tried reinstalling YARPP and activated the newest version which is 3.2.1b4.
    However the duplicates are still on the two pages:
    http://www.australiancreditcards.com.au/best-credit-cards/ and
    http://www.australiancreditcards.com.au/best-travel-card/ and the other links that valandilearfalas mentioned above.

  19. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 4 years ago #

    @djam1317 3.2.1b4 is not the latest version. 3.2.1 is newer than 3.2.1b4, and now there's also a 3.2.2. Please try that, dropping your yarpp_related_cache tables once.

  20. djam1317
    Member
    Posted 4 years ago #

    Hi Mitcho,

    We have updated to 3.2.2 and dropped our yarpp_related_cache tables. There are no more duplicate related articles that showed in any list but the lists are all the same for the following pages:
    http://www.australiancreditcards.com.au/rewards-credit-cards/
    http://www.australiancreditcards.com.au/purchase-card/
    http://www.australiancreditcards.com.au/interest-free-credit-cards/
    http://www.australiancreditcards.com.au/best-credit-cards/ and http://www.australiancreditcards.com.au/best-travel-card/

    We really hope this can be fixed. :)

  21. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 4 years ago #

    @djam1317 well, depending on your relatedness criteria, sometimes you will get the same posts showing up as related for multiple other posts, maybe even in the same order. There's nothing I can do to guarantee that that won't happen.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yet Another Related Posts Plugin (YARPP)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic