• Resolved liaaz

    (@liaaz)


    the error_log file in my home directory is being filled with these errors related to WP Postratings http://pastebin.com/r51cqLv8
    looks like the error entry is being logged for every single page view
    can someone help with stopping these?

    also, have there been any updates to this plugin? I installed it like 4 years ago and don’t remember updating it
    my version installed is 1.78 which is same as latest version available for download from ww.wp.xz.cn however the “last update” date is showing up to be from 2014?

    https://ww.wp.xz.cn/plugins/wp-postratings/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter liaaz

    (@liaaz)

    here is the code which I have in my widget to display to posts from category

    <?php if (function_exists('get_highest_rated_category')): ?>
    
       <ul>
       	<?php
       	$cat_id = get_query_var('cat');
    
           get_highest_rated_category($cat_id); ?>
       </ul>
    <?php endif; ?>

    Plugin Author Lester Chan

    (@gamerz)

    Do a var_dump of $cat_id, I am suspecting that it is empty on some pages and that is the reason for it.

    yes 1.78 is the latest, I released it a few weeks back. https://ww.wp.xz.cn/plugins/wp-postratings/changelog/

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘You have an error in your SQL syntax;’ is closed to new replies.