Message Oracle PLS-00202 - type string must be declared

ERRORtype string must be declared
CAUSEAn attempt was made to reference an undefined type. Either the type specifier was not declared or it is not within the scope of the reference.
ACTIONCheck the spelling and declaration of the type specifier. Also confirm that the declaration is placed correctly in the block structure.