Oracle Error PLS-01914: duplicate SECURITY specification in subprogram expression

Oracle Error Message

PLS-01914: duplicate SECURITY specification in subprogram expression

Reason for the Error

The subprogram was found to have two SECURITY specifications.

Solution

Remove one of the SECURITY specifications.