Error: Attempt to assign property of non-object [APP\Controller\ServicesController.php, line 55]