Fatal error: Call to a member function getRelated() on a non-object in /sites/rentapartments/barcelona-home/protected/controllers/front/PdfController.php on line 161