Oracle Solution for Error ora-16135

Solution for Oracle Error ORA-16135

ORA-16135: Invalid LOG_ARCHIVE_CONFIG modification while in protected mode

What triggered the Error:

The LOG_ARCHIVE_CONFIG parameter can not be modified while any RAC instance is open in either maximum protection or maximum availability mode. Also, the parameter can not be modified in such way that would cause all destinations to fail while in maximum protection mode.

What should we do to fix it:

Make the modification before the database is opened by any instance.