• Resolved WPChina

    (@wordpresschina)


    I have two blogs. On one of them, the WP-PostRatings 1.01 found here works fine:
    https://www.lesterchan.net/wordpress/2006/04/01/my-wp-plugins-update-april-06/

    On my other blog, it also appears to work fine, but when I am the admin and view the admin control panel under the “manage Ratings” area, I find the following code above the box for the Post ratings Logs:

    WordPress database error: [You have an error in your SQL syntax near ‘(meta_value AS UNSIGNED)) FROM wp_postmeta WHERE meta_key = ‘ratings_users” at line 1]
    SELECT SUM(CAST(meta_value AS UNSIGNED)) FROM wp_postmeta WHERE meta_key = ‘ratings_users’

    WordPress database error: [You have an error in your SQL syntax near ‘(meta_value AS UNSIGNED)) FROM wp_postmeta WHERE meta_key = ‘ratings_score” at line 1]
    SELECT SUM(CAST(meta_value AS UNSIGNED)) FROM wp_postmeta WHERE meta_key = ‘ratings_score’

    Everything seems to be working correctly and people can post ratings, but that code is visible on one of my blog’s admin areas. I worry that it might be a problem that could open up into something worse later.

    I have already updated my permalink structure many times and have activated/de-activated it many times but the error message still stays…

    Any idea what is wrong?

Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Bug: WP-PostRatings 1.01’ is closed to new replies.