Message Oracle PLS-00709 - pragma string must be declared in package specification and body

ERRORpragma string must be declared in package specification and body
CAUSEThe named pragma was declared in a package specification but not in the corresponding package body or vice-versa, as well as the package body.
ACTIONAdd the pragma to that part of the package declaration that does not have the pragma.