Don't assign the result of getPlayerError() to an integer.
Attach a file by drag & drop or click to upload