PHP Fatal error: Call to undefined method ElggObject::getMimeType()