Oracle Solution for Error ora-32307

Solution for Oracle Error ORA-32307

ORA-32307: must use FROM ONLY clause when referencing an object table

What triggered the Error:

An attempt was made to create a materialized view whose definition query references object tables without the FROM ONLY clause.

What should we do to fix it:

Rewrite the definition query to use the FROM ONLY clause for all the object tables in the query.