WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] [Plugin: Yet Another Related Posts Plugin] No related posts (36 posts)

  1. zenkaty
    Member
    Posted 1 year ago #

    Hi,

    This plugin used to work for me - not sure when it stopped working, maybe the latest update? It's just not finding any related posts, for any posts at all! It is inserting the 'no related posts' string, though.

    Not sure what to test to fix... any guidance is welcome!

    Katy

    http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/

  2. NeverChill
    Member
    Posted 1 year ago #

    Having the same problem, have had it for quite a while now. When previewing a post the related posts show up fine, once the post is actually published there are no results.

    This seems to happen randomly and is immediately fixed by hitting Update on a post, even though nothing has changed.

    I have installed the experimental plugin as well and have Flushed and rebuilt the cache several times to no avail.

    Yet Another Related Posts Plugin Options 3.5.2 with YARPP Experiments 0.6

    Please help!

  3. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    I'm sorry to hear you've had issues like this, even with 3.5.2. I've heard of reports like this but have been unable to reproduce this issue. I'd appreciate if you could help me

    1. WordPress version
    2. Have you manually changed your YARPP_CACHE_TYPE? (If you don't know what this means, you haven't. :))
    3. server environment: shared hosting or private server, PHP and MySQL version (if known)
    4. caching system? e.g. W3 Total Cache, Super Cache, memcached, or something else?

    @zenkaty and others: is your behavior just like @NeverChill described, where drafts show results, published posts lose them, then updating can make them appear again?

    I really would like to resolve such issues and would appreciate any information I can get.

  4. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    Please also try this latest beta, which may resolve this issue in some cases: http://downloads.wordpress.org/plugin/yet-another-related-posts-plugin.3.5.3b1.zip

    Thank you!

  5. zenkaty
    Member
    Posted 1 year ago #

    I have the latest version of everything. Haven't changed YARPP_CACHE_TYPE. The site's on a VPS running Zeus, MySQL verison 5.2.17. No caching as far as I know. I have just tried editing, saving, previewing, on drafts and published files, and got no Related Posts anywhere. I am running other installs in a similar, if not the same, environment and YARRP works perfectly. So there's something about this particular thing that's breaking it, but I can't figure out what!

  6. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    @zenkaty did you try the latest beta? Is there some particular plugin you're running on that install but not other, working installs? It's possible that this is a plugin incompatibility.

  7. NeverChill
    Member
    Posted 1 year ago #

    Here's my info:

    1. WordPress 3.2.1
    2. No change
    3. VPS running MySQL 5 and PHP 5
    4. WP Super-Cache

    Thanks for looking into this!

  8. juninho_14
    Member
    Posted 1 year ago #

    I also had this problem.

    im using the function related_posts(); just.

    When i updated the plugin all the related posts are gone. Now i just have the message "there arent related posts".

    Maybe a new upgrade resolve this problem? Did anyone solved this bug already?

    Ps.: wp and plugin is up to date.

  9. zenkaty
    Member
    Posted 1 year ago #

    I am now running the beta - still no related posts.

    No difference if I insert automatically, or use the code in my template. Any text in the "no related posts display" shows, the link to YARRP shows if I check it - just no posts.

  10. Callum Silcock
    Member
    Posted 1 year ago #

    Just updated to new version (and newest WP version)

    Having the same issue... any updates?

  11. nhowarth
    Member
    Posted 1 year ago #

    I was having this problem with 3.5.2 - related posts were showing up in the Add New & Edit post pages but not showing up on the published page.

    I am inserting the related posts directly into the post using:

    <?php if ( function_exists('related_posts') ) : ?>
    <?php related_posts(); ?>
    <?php endif; ?>

    The beta 3.5.3b1 resolved the problem for me and everything is now fine.

    As for my setup, I'm using:

    1. WordPress 3.5.2
    2. Haven't changed YARPP_CACHE_TYPE
    3. VPS running CentOS 5, PHP 5.2.17, MySQL 5.1.63-cll
    4. caching system - W3 Total Cache

    Hope this helps.

  12. NeverChill
    Member
    Posted 1 year ago #

    Tried 3.5.3b1, now new posts don't work until I flush the cache with YARPP Experiments. After that they pop right up.

    Hope this can point you in some direction.

  13. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for all the feedback, everyone!

    @nhowarth glad 3.5.3b1 fixed your issues.

    I identified another possible way in which "no related posts" could occur incorrectly. This is fixed in 3.5.3b2. Please let me know if this new beta helps at all.

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

  14. zenkaty
    Member
    Posted 1 year ago #

    Latest beta didn't help me.

    I hadn't heard of YARRP Experiments - I just downloaded it and flushed the cache, then tried to rebuild, and got this error: "There was an error while constructing the related posts for"

  15. Callum Silcock
    Member
    Posted 1 year ago #

    Just tried the above @mitcho, still not working on my end either.

    Stuck with "No related articles found"

    Strange thing is its working locally but not live.....

    Will do some debugging later today and see if I can find anything, haven't tried the YARPP experiments yet but may just mess around with the dbase.

    Will report back if I find anything

  16. zenkaty
    Member
    Posted 1 year ago #

    I have just updated WordPress to 3.4.2 - still no related posts.

    Interestingly, after I flushed the cache yesterday and tried to rebuild (failed at 0%) - it now says the cache is at 40.15%. I didn't try to rebuild it, so not sure how that works. Maybe 40% of my posts have related posts... I haven't been able to find any, though. It also says -

    Number related:
    0
    275

  17. Callum Silcock
    Member
    Posted 1 year ago #

    Cannot work this out on my end, any updates?

  18. Callum Silcock
    Member
    Posted 1 year ago #

    Ok now I have any posts created after the update will show related, anything before do not. Hope that helps

  19. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    Hi all. Thanks for the feedback.

    For those of you who are comfortable running MySQL queries, could you please try running this query? It's just a select so it will not modify anything:

    select reference_ID from wp_yarpp_related_cache group by reference_ID having substr(group_concat(distinct ID order by ID),1,1) = '0' and count(distinct ID) != 1

    I have a new idea about where these "no related posts" are coming from. If my hypothesis is correct, this query will return some rows for you (precisely the IDs for the posts which have this issue, actually). If that *does* return rows for you, then please try the latest beta which should fix your issue:

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

    If this query doesn't return any rows, please let me know too...

  20. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    I got word that this new beta does indeed fix "no related posts" for certain users. Please test it and see if it helps you:

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

  21. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    No updates? I'm hoping to push out this latest beta as 3.5.3. I would appreciate it if some of you with this "no related posts" issue could test it. Thanks! :)

  22. zenkaty
    Member
    Posted 1 year ago #

    Hi - I will try this today and let you know. This is a day job for me, so I don't have access on the weekend ;)

  23. Callum Silcock
    Member
    Posted 1 year ago #

    Not working on my end (any posts created after the last major update show related, anything before do not)

  24. zenkaty
    Member
    Posted 1 year ago #

    Have just installed the new beta, no change for me. My cache had gotten up to about 97%, but was still showing as 0 related. I flushed the cache again, and tried to rebuild, but got the same error as before as soon as it started - "There was an error while constructing the related posts for"

    In addition, I just ran the query, and it returned 0 rows.

  25. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks guys for the updates. Sorry to hear this wasn't a magical fix for you guys...

    @Callum, I suggest you flush the cache in that case... sounds like previous incorrect computation of "no related posts" has been cached.

    @zenkaty: if you're recomputing using the Experiments tool and it's still giving you zero, my guess is that for some reason it actually thinks there's nothing related. Have you tried lowering your match threshold?

  26. zenkaty
    Member
    Posted 1 year ago #

    How do I do that?

  27. Callum Silcock
    Member
    Posted 1 year ago #

    Hey mitcho, thanks for the updates throughout this.

    No idea how to flush the cache, saw in one of your earlier posts to put &action=flush after the url in the YARPP options (wp-admin/options-general.php?page=yarpp&action=flush)

    Have tried this and still no luck, if there is another way of flushing let me know

  28. zenkaty
    Member
    Posted 1 year ago #

    Callum: download YARRP Experiments, it adds extra functions to the YARRP settings page

  29. Callum Silcock
    Member
    Posted 1 year ago #

    Installed, flushed the cache (went to 0%), hit 'rebuild' and am now getting

    There was an error while constructing the related posts for [postname]

    Over and over again but it seems to be building on its own. (at 2% as I finished writing this post)

    Will update if it works after this.

  30. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    @zenkaty: if you don't see the "relatedness" options in YARPP settings, go to "screen options" in the top right to display the "Relatedness" options. There you will see the match threshold. Lower it (default is 5) maybe to 2ish? And save and then see how the results look.

    FYI, changing any of these Relatedness settings and saving will reset the cache.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic