WordPress.org

Forums

WP-PostRatings
Warning: Creating default object from empty value (1 post)

  1. Kerfred
    Member
    Posted 2 years ago #

    Hi,

    First congratulations for your very good plugin.

    I get this warning each time I submit a rate:
    Warning: Creating default object from empty value in /wp-content/plugins/wp-postratings/wp-postratings.php on line 183

    I think you need to put:
    $post_ratings_data = new stdClass();
    line 183. It will solve this warning.

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags