0 Call to a member function getType() on null