Would anyone be willing to help me with this error for one of my students? It says - WARNING: Line: 28: setText() text parameter value (undefined) is not a uistring.ERROR: Line: 28: TypeError: Cannot read property ‘toString’ of undefined
You are trying to display undefined where a string is required.
A couple reasons for that. One is calling filter() before you know what to filter on. Another is filtering on the artist name 1. Another is choosing a random artist based on lists of different lengths.
Thank you! It’s the little bugs. I checked and all of the filtered lists were empty in the watcher. It took a while but I finally noticed that the lists weren’t being filled because his conditional statement was missing the [i] to indicate which element should be appended to the filtered lists. His app is now working. Thanks again.