Oracle Solution for Error ora-01311

Solution for Oracle Error ORA-01311

ORA-01311: Illegal invocation of the mine_value function

What triggered the Error:

An attempt was made to use mine_value function on a column other than redo_value or undo_value columns of SYS.X$LOGMNR_CONTENTS or SYS.V$LOGMNR_CONTENTS fixed table/view.

What should we do to fix it:

Rewrite the SQL statement with a legal invocation of mine_value