Similar to T368935 but for statements referring to deleted properties. [Endpoints affected PATCH property & PATCH item]
Reproduction steps:
- create statement to any page
- delete the property the statement refers to (or any of the qualifier/reference properties)
Possible solution: Validating only statements that actually changed would fix this and is probably a good idea anyway (for performance).