This plugin seems to be broken in WordPress 2.9. It lists several errors at the top of each post, so I had to deactivate it. Hope it's fixed soon!!
http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/
This plugin seems to be broken in WordPress 2.9. It lists several errors at the top of each post, so I had to deactivate it. Hope it's fixed soon!!
http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/
@nrepair - it was a YARPP 3.1 issue, not a WP 2.9 issue... I just pushed a fix as YARPP 3.1.1. Please give it a try.
While upgrading to 3.1.1 and WordPress 2.9 I've got a terribly slow response when using the preview post option. It takes a couple of minutes before it displays the page while prior to these upgrades it was instantly showed.
With the mysql processlist it appears to be busy with the related cache:
Copying to tmp table | insert into wp_yarpp_related_cache (reference_ID,ID,score) (SELECT 906, ID, (0+ (MATCH (post_con |
After a while it starts optimizing, sorting for group, sending to net and then it starts all over again..
The related cache has only 1200 records while the key word cache only has 300 records.. So it probably shouldn't be this slow.
Is this a bug?
WP 2.9 and YARPP 3.1.1 - same problem like iqpascal. Nothing happens for minutes while saving / publishing a post. I had to deactivate it, too.
It's taking ages to publish changes to my posts as well. Not sure if it's related, but I just reactivated the YARPP plugin before having this problem.
@brasilonline you're describing a differnt problem... @iqpascal described it being slow when displaying posts. Are you getting that as well?
If you have "cross-relate posts and pages" on, turning it off might help.
Hello - I too had problems that I think track back to YARPP. Yesterday, before the upgrade to 2.9 (I was at the latest 2.8), someone notified me that my feed was not working. I found an error indicating an out of memory situation. I tracked this for a bit, restarting Apache, MySQL, etc. Finally started disabling plugins one by one until it was clear YARPP was causing this. I deactivated it and the feed came back fine. I *just* upgraded to 2.9 and thought to reactivate YARPP, which I did, but then the feed broke again. Let me know if I can provide more details — the error was unspecific except that the feed contained nothing but a PHP error message indicating that the process had run out of memory trying to allocate some number of bytes to default-widgets.php.
I'm experiencing the same problem when publishing / editing posts on the blog after upgrading to YARPP 3.1.1. Nothing is happening even after minutes of waiting.
@jbleecker - try turning off related posts in the RSS feed.
@ghacks - I'm looking into that issue now. Are displaying posts in wp-admin slow as well for you?
I did not check this unfortunately and have since then switched back to the old plugin version 3.0.13 which is not having those issues.
@jbleecker - also, regarding the feed, were you getting errors in the feed or was it just timing out?
Hi all—I believe I fixed the issue in 3.1.2, of which I've released a beta. I'd appreciate some quick sanity checks:
http://downloads.wordpress.org/plugin/yet-another-related-posts-plugin.3.1.2b1.zip
Actually brasilonline describes the same problem. It loads and loads while being busy with the database, when that is all done the page is finally displayed..
Tried turning of the cross-relate, but it is still a lot slower than the prior version.
Without cross-relate it takes about 1 minute to preview a page, with cross-relate on it takes about 3 minutes (with a full cpu load...)
mitchoyoshitaka the download link is not working.
@ghacks it's working for me... please try again?
The 3.2.1b works just fine (with cross-relate on) regarding the slow preview problems of earlier.
@mitchoyoshitaka now its working, received a 404 before.
@mitchoyoshitaka tried the new version, updating works fine now, have not made a new post yet but assume that it will work as well.
Great. I'll push it now.
@mitchoyoshitaka I'm experiencing database problems that are caused by YarPP (latest version). According to my webhoster the cause of the problem are locked processes that are waiting on wp_yarpp_related_cache.
"Your WordPress has quite a large number open, but what is a bit more alarming is that many of them are locked. I see that a number of processes are locked, they are all waiting on one large database table, wp_yarpp_related_cache"
Me too... I updated to 3.1.2 this morning and, since then, mysql takes up a lot of CPU and stays stuck for ages on queries like "insert into wp_yarpp_related_cache (reference_ID,ID,score)......".
I have not really looked at all of the code, but I wonder why it keeps inserting stuff?
I mean, unless I have actually POSTED something new, or updated something... shouldn't all similarities be already "known" to the plugin?
btw, disabling "cross-relate posts and pages" seems to partially "fix it"... the high load still happens, but it is less frequent and a bit less high.
Here's some error messages I'm getting in my error log:
[19-Dec-2009 17:24:27] PHP Warning: array_keys() [function.array-keys]: The first argument should be an array in /home1/alterpol/public_html/wp-content/plugins/yet-another-related-posts-plugin/includes.php on line 83
[19-Dec-2009 17:24:27] PHP Warning: Invalid argument supplied for foreach() in /home1/alterpol/public_html/wp-content/plugins/yet-another-related-posts-plugin/includes.php on line 83
[19-Dec-2009 17:24:27] PHP Warning: array_keys() [function.array-keys]: The first argument should be an array in /home1/alterpol/public_html/wp-content/plugins/yet-another-related-posts-plugin/includes.php on line 87
[19-Dec-2009 17:24:27] PHP Warning: Invalid argument supplied for foreach() in /home1/alterpol/public_html/wp-content/plugins/yet-another-related-posts-plugin/includes.php on line 87
[20-Dec-2009 05:34:00] PHP Warning: array_keys() [function.array-keys]: The first argument should be an array in /home1/alterpol/public_html/wp-content/plugins/yet-another-related-posts-plugin/includes.php on line 83
[20-Dec-2009 05:34:01] PHP Warning: Invalid argument supplied for foreach() in /home1/alterpol/public_html/wp-content/plugins/yet-another-related-posts-plugin/includes.php on line 83
[20-Dec-2009 05:34:01] PHP Warning: array_keys() [function.array-keys]: The first argument should be an array in /home1/alterpol/public_html/wp-content/plugins/yet-another-related-posts-plugin/includes.php on line 87
[20-Dec-2009 05:34:01] PHP Warning: Invalid argument supplied for foreach() in /home1/alterpol/public_html/wp-content/plugins/yet-another-related-posts-plugin/includes.php on line 87
[20-Dec-2009 17:00:04] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 for query delete from wp_yarpp_related_cache where reference_ID in () made by require, require_once, include, the_content, apply_filters, call_user_func_array, yarpp_default, yarpp_related, yarpp_cache_enforce, yarpp_cache_clear
Hope this helps.
@ghacks, @Dani3l3 - if the load is too much you can follow the general advice (in the FAQ, I believe) to disable "cross-relate posts and pages" and to not consider tags or categories. These should all help. Note, however, that once the cache is organically built up after a while, you should notice a marked decrease in CPU load.
@Dani3l3 - things are being inserted because those "relatedness" relations aren't known until they're checked the first time. This normally happens when a page is viewed by a visitor. At that time it computes the "relatedness" and then caches it for future use.
@CallUp - something *very* strange is happening in your installation (it's not getting the right value for a variable which should have just been set)... perhaps it's a plugin conflict? Is this a new YARPP install or an upgrade?
things are being inserted because those "relatedness" relations aren't known until they're checked the first time. This normally happens when a page is viewed by a visitor. At that time it computes the "relatedness" and then caches it for future use.
I understand, but I *though* that such a cache WAS already built on my db now - I have been running this plugin for several months without this issue, and I am only seeing it after UPGRADING to 3.1.2 :|
unless the new version requires a "new" cache?
@Dani3l3 I'm not sure what to say... that part of YARPP hasn't changed at all since 3.0. If you changed any pool or relatedness settings in YARPP Options, though, that would have reset the cache.
@Dani3l3 I also released a beta, 3.1.3b1 which may improve long-term performance (it won't help with the initial hit of cache-building when the cache is reset). Feel free to give it a try as well.
http://downloads.wordpress.org/plugin/yet-another-related-posts-plugin.3.1.3b1.zip
For three days, I was having High Resource Usage & CPU for my site..
I tried many things..downgraded, restored backup, changed theme, deactivated plugins. but no luck..
I have been using your plugin in my three site..your plugin was not having any problem in my other two site..so I never thought your plugin would cause this..then I decided to monitor your plugin when it is active / deactive..
while your plugin active, I monitored the processes through my cpanel..
it sometimes increase over 25 processes which is highest number allowed by my hosting firm..also high cpu generated yarpp active..and suddenly I sometimes come up with error establishing databse..
when I deactivate yarpp, I monitored process for many minutes to make sure..and my blog runs smoothy without any problem..
So seems yarpp is ok with wordpress 2.9 which works pretty well with my two other sites..
but must be conflicting with any other plugins..no idea which one it could be..
I use following plugins
Let me know If I can provide you any helpful info..as I really want to use your plugin..
Thanks!
Hifa, I'm sorry to hear that. How is this site different than the others? Is it the same WP, same YARPP, same plugins, same hosting?
Same WP, Same YARPP, Same Hosting but plugins differ..
I do not know if this makes sense but when I received Database Connection error, I Check the tables having overhead (which yarpp table/s included), and repair them; both my admin panel and site returns back..but it does not last long..
the plugins I don't use in my two other site are
I suspect if the problem is with WPML plugin..I will test by deactivating it and activating urs..
Maybe it is not all plugin conflict but just my assumption..I will give u report later..
Thanks
This topic has been closed to new replies.