When changing the constituent on payment that also has a matching gift claim, this error is shown batch. The user must delete the payments against the matching gift claim before changing the constituent on the payment. This situation is encountered if the user needs to change the constituent for whom the original payment was entered. This message in new to version 4.0 and did not occur in prior versions.
We're currently evaluating this issue for a fix in a future release