WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] [Plugin: Yet Another Related Posts Plugin] version 3.4 RSS doesn't show custom text (33 posts)

  1. azn137
    Member
    Posted 2 years ago #

    Under Before / after related entries:, my custom text is:

    <hr/><strong>You might also like:</strong><ul class="relatedpost">

    ...it doesn't look like the script respects that, after I hit 'Save changes", of course. Here's the screen shot: http://www.jpegtown.com/user_uploads/4p6JOpy_Untitled.png

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

  2. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    I just tried this myself but I'm not able to reproduce it. Could you try clearing your browser cache or trying another browser? Also, what do you actually get in your RSS feed now? Is YARPP printing any errors on settings update?

  3. azn137
    Member
    Posted 2 years ago #

    I disabled the plugin. It was blowing up on my blog.

    Here's what showed on http://tambnguyen.com/feed/

    This page contains the following errors:
    
    error on line 32 at column 25: Extra content at the end of the document
    Below is a rendering of the page up to the first error.
    
    Tam Nguyen - Sacramento Photographer http://tambnguyen.com Tam Nguyen Photography - Sacramento Portrait, Lifestyle and Wedding Photographer Tue, 13 Dec 2011 16:53:59 +0000 en hourly 1 http://wordpress.org/?v=3.3 Double Exposure: Canon vs. Nikon by Tweakers http://tambnguyen.com/20111213/double-exposure-canon-vs-nikon-by-tweakers/ http://tambnguyen.com/20111213/double-exposure-canon-vs-nikon-by-tweakers/#comments Tue, 13 Dec 2011 16:49:22 +0000 Tam Nguyen   http://tambnguyen.com/?p=2512

    When viewing the source, I saw this:

    32: 		<description><![CDATA[<br />
    33: <b>Fatal error</b>:  Call to undefined method dbrc_wpdb::set_charset() in <b>/home/azn137/www/wp-content/plugins/yet-another-related-posts-plugin/cache-tables.php</b> on line <b>266</b><br />

    I tried resync the feed and clearing the cache with no luck.

  4. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    What is dbrc_wpdb? Are you using a non-standard database?

  5. azn137
    Member
    Posted 2 years ago #

    Not sure, but I DO have "DB Cache reloaded" plugin...

    What's that GET method to clear the cache of your plugin?

  6. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    ?action=flush

    But I'm afraid YARPP won't work with DB Cache reloaded, as it's missing an important method in order to be a full replacement for WPDB. I would report this to the author of DB Cache reloaded.

  7. azn137
    Member
    Posted 2 years ago #

    Ok, disabling 'DB Cache Reloaded" and re-enabling it helped. I'm now running v3.4, but the custom text for RSS still shows the default text, which is

    <h3>Related Posts</h3><ol>

    instead of

    <hr/><h3>You might also like:</h3><ul>

    Any idea why? I've tried clearing the cache a few times, and no, YARPP isn't printing any errors on settings update.

    Thanks!

  8. azn137
    Member
    Posted 2 years ago #

    Workaround: I created a custom template and force the plugin to use it in Options.

  9. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    Hmm, okay. I still haven't been able to reproduce your core issue... if someone else can as well, that would be noteworthy.

  10. azn137
    Member
    Posted 2 years ago #

    Yeah, this version totally hosed my blog with the RSS issues. I've reverted back to 3.3.

    P.S.: I was reading other threads that people are posting today. I've noticed the "No related post" error as well.

    Thanks for working on the plugin. I'm a developer myself, so I know these things are pretty much unavoidable.

  11. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    Sorry to hear that. :( I'm doing my best and always pushing betas, but there always are issues that don't come up until launch... thanks for your reports and I appreciate your compassion.

  12. mdatawt
    Member
    Posted 2 years ago #

    Hello,

    I have issues too since last update.

    I use YARP 3.4.1 on wordpress 3.2.x (don't remember exactly the version but I'm sure my 3.2 is the last up-to-date version before 3.3). Since I updated YARP this morning, I have this message coming on each posts :

    Fatal error: Call to undefined method dbrc_wpdb::set_charset() in /var/www/virtual/w4a122716/wtcomics/wp-content/plugins/yet-another-related-posts-plugin/cache-tables.php on line 266

    This only occurs when the plugin DB Cache Reloaded Fix (version 2.2.4) is activated, so I suspect a conflict between the two plugins, related to some changes made in the last version of YARP.

    Hoping it will help you to find how to fix this issue.

    Thanks a lot in advance

    Best regards

  13. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    DB Cache Reloaded doesn't have the set_charset method which WPDB does, so it's failing its duty as a drop-in replacement. I'll try to contact the author.

  14. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    Author contacted via twitter.

  15. mdatawt
    Member
    Posted 2 years ago #

    Thanks a lot, I hope this will be over soon :)

    In the meantime, I have turned off DB Cache Reloaded.

  16. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    @mdatawt: try this version. I added some code to check whether the set_charset method exists first, so it at least doesn't die when using DB Cache Reloaded:

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

  17. azn137
    Member
    Posted 2 years ago #

    Thanks! I'll just wait for the official release. I not a big fan of running beta/patches on my production site.

    In the meantime, I'm using DB Cache Reloaded with YARPP 3.3. Just modify the yarpp.php and change the version to 3.4.1 so that WP won't notify you with the giant obnoxious update thing.

  18. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    @azn137 since I don't use DB Cache Reloaded, I made this change specifically based on your report and have no other good way of testing it. Please do try this version:

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

  19. azn137
    Member
    Posted 2 years ago #

    @mitcho: is this build more updated than the currently live version 3.4.2?

  20. azn137
    Member
    Posted 2 years ago #

    Nevermind... i bit the bullet and upgraded to the official v3.4.2. Everything works now, both the "custom text" and the "dbrc_wpdb::set_charset()" issues are now gone.

    On an unrelated note: is it just me or the scoring system is a bit more strict?

  21. José Luís
    Member
    Posted 2 years ago #

    <--- removed by the commenter: wrong topic --->

  22. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    @azn137 3.4.2 is the latest version now. Glad it's working for you!

    Yes, the scoring system is a little bit more strict, but actually more accurate now. Before the "require at least one tag in common", etc., were a little fuzzy.

  23. mdatawt
    Member
    Posted 2 years ago #

    Hello

    Thanks for your quick fix, this works perfectly on my site.

    There is just a drawback : the scoring system is so strict now that I get no related articles for my new articles. I tried to add tags too (I did not used them before) with no change.

    How does it work now ?

    Best regards

  24. azn137
    Member
    Posted 2 years ago #

    @mdatawt: flush your relatedness, and then rebuild the cache. you'll need YARPP Experiment plugin. I ran into the same problem myself, but after I let it build the cache, everything was back to normal (and maybe even more accurate).

  25. mdatawt
    Member
    Posted 2 years ago #

    @azn137 : Thanks a lot, it works !

  26. k2fly
    Member
    Posted 2 years ago #

    Quick and good job ! Thank's guy.

  27. mdatawt
    Member
    Posted 2 years ago #

    In fact it only worked for the articles I wrote this morning. I wrote two other articles this afternoon, and again empty list (but it should not, as there is a daily article with a very similar structure everyday).

    Agan I flushed and rebuilt (btw it took me several tries, as the building crashes and asks to reload the page and continue) and it worked, but I fear I will have to do this for every article now.

    Do you have any ideas about this ? Another interaction with DB Cache Reloaded ?

  28. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    @mdatawt try modifying your "relatedness" options, so that it considers everything, and lower the match threshold.

  29. mdatawt
    Member
    Posted 2 years ago #

    Hello,

    I have tried two things :

    - Turn off DB Cache Reloaded : no effect (so no interaction)

    - Lower the relatedness score as you suggest (from 5 to 4) : it seems to work now.

    I'll test it today with several articles I have to write and tell you if it is over or no.

    Thanks for your help !

    Best regards

  30. azn137
    Member
    Posted 2 years ago #

    that's very low actually. have you tried flushing the relatedness cache again?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic