致命错误:在非对象上调用成员函数getType()

Just today when i opened my site i found this fatal error :

Fatal error: Call to a member function getType() on a non-object in /nfs/c08/h03/mnt/152783/domains/jobs.mediajobs.com/html/system/lib/orm/ObjectProperty.php on line 427

And when i searched for that line i found this code :

function getType() { return $this->type->getType(); }

I don't have any idea of what might have happened.

The whole code i pasted here ..

http://pastie.org/private/lb3sfkkytzofxer2gtynvq

Please Help!

Check what $this->type is. Your code expects it to be an object, and it apparently isn't.

$this->type is currently not an object. Check you have initialize (or set) it and if you don't override the object with a int, string or whatever by accident.