Support » Plugin: WP-PostRatings » [Plugin: WP-PostRatings] the_ratings_results – Undefined indexes

  • Hi there,

    First of all, thank you for your nice plugin! You’ve done a great job with it! However, I need a little bit of help here.

    I’m using the the_ratings_results() function to retrieve the current rating of a given post ID (eg. the_ratings_results($post->ID)) and while it seems to work I’m also getting these PHP notices:

    Notice: Undefined index: ratings_users in F:\wp\wp-content\plugins\wp-postratings\wp-postratings.php on line 1095

    Notice: Undefined index: ratings_score in F:\wp\wp-content\plugins\wp-postratings\wp-postratings.php on line 1096

    Notice: Undefined index: ratings_average in F:\wp\wp-content\plugins\wp-postratings\wp-postratings.php on line 1097

    Any ideas?

    http://wordpress.org/extend/plugins/wp-postratings/

Viewing 1 replies (of 1 total)
  • Hi.

    I’m running same issue on development environments.

    You can hide ’em with define('WP_DEBUG', false); on wp-config.php, but that’s not fair enough. 😛

    Can you take a look Lester, please? Thanks!

    Best!
    R

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP-PostRatings] the_ratings_results – Undefined indexes’ is closed to new replies.