Oracle Error PLS-00148: Only 1 pragma of this type is allowed per subprogram

Oracle Error Message

PLS-00148: Only 1 pragma of this type is allowed per subprogram

Reason for the Error

The subprogram was found to have two PRAGMA RESTRICT_REFERENCES.

Solution

Remove one of the PRAGMA RESTRICT_REFERENCES.