Oracle Solution for Error ora-31607

Solution for Oracle Error ORA-31607

ORA-31607: function string is inconsistent with transform.

What triggered the Error:

Either (1) FETCH_XML was called when the "DDL" transform was specified, or (2) FETCH_DDL was called when the "DDL" transform was omitted.

What should we do to fix it:

Correct the program.