WordPress.org

Support

Support » Plugins and Hacks » [Resolved] YARPP causing huge error_log over 10GB daily 250gb / week

[Resolved] YARPP causing huge error_log over 10GB daily 250gb / week

  • djkrimp
    Member

    @djkrimp

    Hi i would appreciate any help with this issue,
    the yarpp on my website is causing a massive error_log and filling up my server

    2 lines from the log state ( i have millions)

    please help

    [18-Aug-2011 18:25:16] WordPress database error Unknown column ‘Array’ in ‘field list’ for query insert into wp_yarpp_keyword_cache (ID,body,title) values (Array,’page feedback igyaan click exist does trying home top leave rps please looking looks search brain news views reviews latest ‘,’igyaan welcome oops ‘) on duplicate key update date = now(), body = ‘page feedback igyaan click exist does trying home top leave rps please looking looks search brain news views reviews latest ‘, title = ‘igyaan welcome oops ‘ made by require, require_once, include, locate_template, load_template, require_once, woo_custom_excerpt, get_the_excerpt, apply_filters, call_user_func_array, wp_trim_excerpt, apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, cf5_rps_shortcode, get_related_posts_slider, get_cf5_yarpp_related_posts, yarpp_cache_enforce, YARPP_Cache_Tables->cache_keywords, W3_Db->query

    [18-Aug-2011 18:25:16] WordPress database error Unknown column ‘Array’ in ‘field list’ for query insert into wp_yarpp_keyword_cache (ID,body,title) values (Array,’page feedback igyaan click exist does trying home top leave rps please looking looks search brain news views reviews latest ‘,’igyaan welcome oops ‘) on duplicate key update date = now(), body = ‘page feedback igyaan click exist does trying home top leave rps please looking looks search brain news views reviews latest ‘, title = ‘igyaan welcome oops ‘ made by require, require_once, include, locate_template, load_template, require_once, woo_custom_excerpt, get_the_excerpt, apply_filters, call_user_func_array, wp_trim_excerpt, apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, cf5_rps_shortcode, get_related_posts_slider, get_cf5_yarpp_related_posts, yarpp_cache_enforce, YARPP_Cache_Tables->cache_keywords, W3_Db->query

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author mitcho (Michael Yoshitaka Erlewine)
    Member

    @mitchoyoshitaka

    The problem seems to be the get_cf5_yarpp_related_posts() function which isn’t calling yarpp_cache_enforce() correctly. That function, get_cf5_yarpp_related_posts(), is not a part of YARPP itself. Perhaps it’s written by some other plugin or a theme? You should contact that author or, better yet, stop using that plugin/theme.

    In the mean time, I’m making it so that in the next version of YARPP I’ll check to make sure the right type of value is used for the yarpp_cache_enforce() function so that this error never happens.

    NosCoffin
    Participant

    @noscoffin

    The get_cf5_yarpp_related_posts() function is called by the Related Post Slider plugin.

    At around line 170 in related-posts-slider.php the call is made:

    //if using YARPP
    	if($related_plugin == 'yarpp') {
    		if(function_exists(yarpp_related)){
    		  $rps_posts=get_cf5_yarpp_related_posts($type,array(),false);
    		}
    	}

    I use the Related Post Slider plugin and I suspect djkrimp does as well. While it is a great plugin, it’s lack of maintenance, dependency on the YARRP plugin (it does not work with YARRP 3.4.x) and it’s creating giant error files (it can generate a 500MB one in a 24 hours period) is making me think of just junking it and going with something else.

    Plugin Author mitcho (Michael Yoshitaka Erlewine)
    Member

    @mitchoyoshitaka

    Yes, unfortunately RPS used some private method’s of YARPP’s early on which were not supported. RPS would have to be modified to support more recent versions of YARPP.

    NosCoffin
    Participant

    @noscoffin

    The good news is that the new version of the Related Post Slider plugin now supports YARRP 3.4.x and the error calls have stopped, as have the huge error log files.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] YARPP causing huge error_log over 10GB daily 250gb / week’ is closed to new replies.