This “Array has changed…” error happens, if you change the array content while iterating over it. I looked at your code - indeed, you add items within the for loop.
You could try to iterate with a for (i =…) loop to avoid these issues.
See this forum thread.
1 Like