That is bizarre because the createText should not call to that method in the PRO versions.
Are you using the COMMUNITY version? In that case addText does not support arrays...
Yes Community version only. Experimenting with few things. Thanks for letting us know. But it is good to have this comment on tutorial as "Please use only PRO" version for trying out these examples.