You will receive this error if a staff member has a post recorded as Leading Practitioners but a pay range other than Leading Practitioners.
To resolve this error locate the staff member in Admin > Personnel > Staff and click the cog next to the contract in question. In this area amend either the post held on the left or the pay range on the right.
Ensure to click update after making any changes.