Cause
This error occurs if your application code references a protected property or method outside the owning class or one of its subclasses. Properties and methods are defined as being protected. A protected property or method is referenced by methods only within the class in which it is defined, or one of its subclasses.
Action
Change your application code to remove the invalid access.
If you did not intend the property or method to be protected, modify it and remove the protected attribute. For properties, this can be done by selecting the property in the Class Browser and then selecting the Change command from the Properties menu. For methods, the protected option should be removed from the method header and the method then recompiled.