string(17) "type is undefined"