Fatal error: Call to a member function getNameForType() on null in /home/bh56668/public_html/kemrenta.ru/protected/modules/apartments/controllers/MainController.php on line 196