Error

PHP Fatal Erroryii\base\ErrorException

Call to a member function getRatings() on null