Error 566 - CLASS expected

CLASS expected - An END CLASS statement was encountered here without the associated CLASS statement to initiate the block.