Oracle Solution for Error ora-56700

Solution for Oracle Error ORA-56700

ORA-56700: plan string is a subplan and SUB_PLAN attribute cannot be modified

What triggered the Error:

An attempt was made to modify the SUB_PLAN attribute of the specified plan.

What should we do to fix it:

Do not attempt to modify the SUB_PLAN attribute.