Oracle Message PLS-00219 - label string reference is out of scope

ERRORlabel string reference is out of scope
CAUSEA block or loop label was used to qualify a variable (as in outer_block.date) that was not declared or is not within the scope of the label. The variable name might be misspelled, its declaration might be faulty, or the declaration might be placed incorrectly in the block structure.
ACTIONCheck the spelling and declaration of the variable name. Also confirm that the declaration is placed correctly in the block structure.