Error thrown

Cannot access parent:: when current class scope has no parent