Message Oracle PLS-00627 - string must be a strongly typed ref cursor

ERRORstring must be a strongly typed ref cursor
CAUSEA partitioning or clustering/ordering specification specified on an argument that is not a strongly typed ref cursor.
ACTIONSpecify partitioning/clustering/ordering based on the function ref-cursor formal argument.