Oracle Error Message
PLS-00752: Table function string is in an inconsistent state.
Reason for the Error
Some of the internally generated types prefixed with SYS_ have been dropped. These should never be dropped by the user.
Solution
Recompile the table function or the package or type that contains the table function.