RE: Undefined attribute type (17)