Page 1 of 1

Fatal error: Call to a member function getNameForType() on

PostPosted: 28 Aug 2014, 09:41
by saha66
Hi

I saw a problem in ore project, when I click All listing of a client the url should be like this:

http://localhost/openrealstat/oprs19/us ... tings?id=3

if client with id value 3 exist the program will show me him/her listings but if i change the id number such as this

http://localhost/openrealstat/oprs19/us ... ings?id=31

The program returns me a Fatal error like this:

( ! ) Fatal error: Call to a member function getNameForType() on a non-object in C:\wamp\www\openrealstat\oprs19\protected\modules\apartments\controllers\MainController.php on line 196

is there any body to help me and correct this problem or may be bug.

Thanks in advance