Oracle Error ORA-12352: object string.string@string is invalid

Oracle Error Message

ORA-12352: object string.string@string is invalid

Reason for the Error

An attempt was made to reference (compile against) an object of a secondary database but the object is invalid and the system cannot validate or recompile it because it is in a secondary database.

Solution

Manually recompile the invalid object in the secondary database.