Fatal error: Uncaught Error: Call to a member function set_user_rating() on null in /usr/home/elsslots/test2/src/model/factory/SiteRatingFactory.php:13 Stack trace: #0 /usr/home/elsslots/test2/src/page/Rating_Stats.php(15): whs\model\factory\SiteRatingFactory::load_user_ratings(Object(whs\model\User), Array) #1 /usr/home/elsslots/public_html/new/scripts/ratingstats.php(8): whs\page\Rating_Stats->__construct(Object(whs\model\User)) #2 {main} thrown in /usr/home/elsslots/test2/src/model/factory/SiteRatingFactory.php on line 13