Oracle Error Message
PLS-00302: component ‘string’ must be declared
Reason for the Error
In a reference to a component (for example, in the name “A.B”, “B” is a component of “A”), the component has not been declared. The component might be misspelled, its declaration might be faulty, or the declaration might be placed incorrectly in the block structure.
Solution
Check the spelling and declaration of the component. Also confirm that the declaration is placed correctly in the block structure.