Message Oracle ORA-38485 - invalid object type for the user-defined function

ERRORinvalid object type for the user-defined function
CAUSEAn attempt was made to use an invalid object as a function.
ACTIONValid object types are FUNCTION / PACKAGE / TYPE