Error thrown

Call to undefined function the_rating()