The problem with these is that the code is trying to add elements to an array variable that is declared as a string, or at least not explicitly as an array.. with the code linked above it is all fixed and working as it should.