[Plugin: Yet Another Related Posts Plugin] SQL error in log after update to latest version YARRP
-
After I upgraded to the latest version of your plugin, I started seeing the following error in my logs – it seems to happen sporadically upon saving posts in the admin…
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 ‘>= 1 order by score desc limit 12) union (SELECT 28069 as reference_ID, ID, ROUN’ at line 5 for query insert into wp_yarpp_related_cache (reference_ID,ID,score) (SELECT 28069 as reference_ID, ID, ROUND(0,1) as score
from wp_posts
where post_status in ( ‘publish’, ‘static’ ) and ID != ‘28069’ and post_password =” and post_type = ‘post’
group by ID
having score >= 1.00 and >= 1 order by score desc limit 12) union (SELECT 28069 as reference_ID, ID, ROUND(0,1) as score
from wp_posts
where post_status in ( ‘publish’, ‘static’ ) and ID != ‘28069’ and post_password =” and post_type = ‘page’
group by ID
having score >= 1.00 and >= 1 order by score desc limit 12) on duplicate key update date = now() made by require, require_once, include, related_posts, yarpp_related, YARPP->display_related, YARPP_Cache->enforce, YARPP_Cache_Tables->updatehttps://www.ads-software.com/extend/plugins/yet-another-related-posts-plugin/
- The topic ‘[Plugin: Yet Another Related Posts Plugin] SQL error in log after update to latest version YARRP’ is closed to new replies.