Oracle Error ORA-02472: PL/SQL functions not allowed in hash expressions

Oracle Error Message

ORA-02472: PL/SQL functions not allowed in hash expressions

Reason for the Error

A PL/SQL function was used in the hash expression.

Solution

Recreate the cluster and remove the PL/SQL function.