I am a teacher using P5.js and one of my students has run into a problem that I cannot understand/fix. For some reason, all of this students programs have stopped working. If I get the code and use it, it works fine, but on their account they keep getting the same error.
script error. (: line 0)
p5 had problems creating the global function “createElement”, possibly because your code is already using that name as a variable. You may want to rename your variable to something else.
This error is affecting all of their programs, new ones and the old programs that used to work. Does anyone have any idea what might be happening here?