getting an error with post voting plugin

Saw error in error log in root of site

[08-Nov-2011 01:00:39] 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 blog_id=1' at line 1 for query SELECT SUM(vote) FROM wp_wdpv_post_votes WHERE post_id=51906 AND site_id= AND blog_id=1 made by require, require_once, include, get_template_part, locate_template, load_template, require, get_template_part, locate_template, load_template, require, the_content, apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, Wdpv_Codec->process_vote_widget_code, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, Wdpv_Codec->process_vote_result_code, Wdpv_Model->get_votes_total

Might be related to another problem I have with this plugin https://premium.wpmudev.org/forums/topic/update-available-after-latest-version