Cause
This error occurs if the current method is non-updating and you attempt to call an updating method of the receiver (self) or one of the primitive attributes of the receiver. As this method call might update the receiver, it is not permitted in a non-updating method.
Action
Remove the invalid method call, or make the method an updating method by adding the
Alternatively, it may be possible to make the called method non-updating.