Oracle Solution for Error ora-25958

Solution for Oracle Error ORA-25958

ORA-25958: join index where clause predicate may only contain column references

What triggered the Error:

attempt to create a join index was made, which failed because a predicate in the where clause contained something other than a simple column.

What should we do to fix it:

sure that the where clause only contains columns.