Oracle Error Message
PLS-00378: invalid compilation unit for this release of PL/SQL
Reason for the Error
A compilation unit is a file containing PL/SQL source code that is passed to the compiler. Only compilation units containing blocks, declarations, statements, and subprograms are allowed. This error occurs when some other language construct is passed to the compiler.
Solution
Make sure the compilation unit contains only blocks, declarations, statements, and subprograms.