Oracle Solution for Error ora-06565

Solution for Oracle Error ORA-06565

ORA-06565: cannot execute string from within stored procedure

What triggered the Error:

The named procedure cannot be executed from within a stored procedure, function or package. This function can only be used from pl/sql anonymous blocks.

What should we do to fix it:

Remove the procedure from the calling stored procedure.