Oracle Solution for Error ora-34840

Solution for Oracle Error ORA-34840

ORA-34840: (OPCREATE01) The string option must be declared with datatype string

.

What triggered the Error:

An attempt was made to declare the option with the wrong datatype.

What should we do to fix it:

Declare the option with the correct datatype.