May 10, 2019 09:13 PM|DA924|LINK
If you are using a foreach loop, then you cannot make changes to the object in the collection. If you were doing this and you got away with this previously, it is a mystery. But you can't do it now it seems.
You can change the object in the collection if you use a for loop using an index.