Forums

Yet Another Related Posts Plugin
YARPP Error in syntax in Error.log (6 posts)

  1. rhythmdoctor
    Member
    Posted 1 year ago #

    I keep getting the following error in my error.log. Can you please tell me why this is happening or how I can fix? Thanks a bunch in advance.

    [14-Sep-2010 01:04: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 ') AND wp_posts.post_type IN ('post') and post_date > date_sub(now(), interval 18' at line 1 for query SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.ID in () AND wp_posts.post_type IN ('post') and post_date > date_sub(now(), interval 18 month) ORDER BY score DESC limit 5 made by require, require_once, include, get_sidebar, locate_template, load_template, require_once, include, related_posts, yarpp_related, WP_Query->query, WP_Query->get_posts, W3_Db->query

  2. manunkind
    Member
    Posted 1 year ago #

    Same here. Happens about every 3-4 minutes.

  3. manunkind
    Member
    Posted 1 year ago #

    Is this plugin supported anymore?

  4. dadaas
    Member
    Posted 1 year ago #

    Looks like this is not working properly. I dont know what changed but my host contact me and told me to remove all YARPP plugins since they are eating memory and querying the database too much. And my host is pretty decent...

  5. rhythmdoctor
    Member
    Posted 1 year ago #

    YUP - same here and I replaced it with Contextual Related Posts... I think it is better. would love to know if you guys think so as well.

  6. This most likely is happening because your YARPP "match score" setting isn't being calculated correctly. Try changing your "match score" and see if the errors disappear.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic