Oracle Error ORA-30511: invalid DDL operation in system triggers

Oracle Error Message

ORA-30511: invalid DDL operation in system triggers

Reason for the Error

An attempt was made to perform an invalid DDL operation in a system trigger. Most DDL operations currently are not supported in system triggers. The only currently supported DDL operations are table operations and ALTER?COMPILE operations.

Solution

Remove invalid DDL operations in system triggers.