# Error Affecting All Programs

**URL:** https://discourse.processing.org/t/error-affecting-all-programs/21115
**Category:** p5.js
**Created:** [May 20, 2020, 9:44pm UTC](https://discourse.processing.org/t/error-affecting-all-programs/21115 "2020-05-20T21:44:42Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![shodai](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@shodai](https://discourse.processing.org/u/shodai)
#### Post date: [May 20, 2020, 9:44pm UTC](https://discourse.processing.org/t/error-affecting-all-programs/21115/1 "2020-05-20T21:44:42Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)
#### Post date: [May 20, 2020, 10:08pm UTC](https://discourse.processing.org/t/error-affecting-all-programs/21115/2 "2020-05-20T22:08:49Z")

</div>

> [@shodai](#):
>
> script error. (: line 0)

You are not alone. Some related [links](https://www.google.com/search?q=script+error.+(%3A+line+0)&rlz=1C1CHBF_enCA822CA822&oq=script+error.+(%3A+line+0)&aqs=chrome..69i57&sourceid=chrome&ie=UTF-8).

Running Processing in P5.js mode is an option just in case:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/4/428c21ccf5caadcb554ea3d66b550772b0e71c44.png)

`:)`

---

<div class="post-metadata">

### Author: ![shodai](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@shodai](https://discourse.processing.org/u/shodai)
#### Post date: [May 20, 2020, 10:35pm UTC](https://discourse.processing.org/t/error-affecting-all-programs/21115/3 "2020-05-20T22:35:06Z")

</div>

I need to keep things web based, so they are using the online editor. Unfortunately the suggested search results did not relate to the specific error that I am having.

---

<div class="post-metadata">

### Author: ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)
#### Post date: [May 20, 2020, 11:06pm UTC](https://discourse.processing.org/t/error-affecting-all-programs/21115/4 "2020-05-20T23:06:04Z")

</div>

> [@shodai](#):
>
> , so they are using the online editor.

May I suggest you to try out other online editors: 👼

> **[OpenProcessing - Creative Coding for the Curious Mind](https://openprocessing.org)**
>
> OpenProcessing - Creative Coding for the Curious Mind

> **[Glitch: The friendly community where everyone builds the web](https://glitch.com)**
>
> Simple, powerful, free tools to create and use millions of apps.

> **[CodePen](https://codepen.io)**
>
> An online code editor, learning environment, and community for front-end web development using HTML, CSS and JavaScript code snippets, projects, and web applications.

https://www.openprocessing.org/sketch/717760/embed/https://glitch.com/embed/#!/embed/preload-image-masks?path=sketch.js&previewSize=0&sidebarCollapsed=true

https://codepen.io/GoSubRoutine/embed/preview/KaerGb?default-tabs=js%2Cresult&height=300&host=https%3A%2F%2Fcodepen.io&slug-hash=KaerGb

---

<div class="post-metadata">

### Author: ![slow\_izzm](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/slow_izzm/32/5637_2.png) [@slow\_izzm](https://discourse.processing.org/u/slow_izzm)
#### Post date: [May 20, 2020, 11:14pm UTC](https://discourse.processing.org/t/error-affecting-all-programs/21115/5 "2020-05-20T23:14:57Z")

</div>

Sometimes, not always, the issue is due to the p5.accessibility lib.

> [@My enemy "Script error. (:line 0)"](https://discourse.processing.org/t/my-enemy-script-error-line-0/19372/4):
>
> I thinks its related to the p5.accessibility lib. go to Settings \>\> Accessibility … are any of the boxes checked under “Accessible text-based canvas”?

---

<div class="post-metadata">

### Author: ![Sven](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/sven/32/8293_2.png) [@Sven](https://discourse.processing.org/u/Sven)
#### Post date: [May 21, 2020, 6:36am UTC](https://discourse.processing.org/t/error-affecting-all-programs/21115/6 "2020-05-21T06:36:58Z")

</div>

Could you ask the student if it’s okay to share the link to their sketch here on the forum? Maybe we could find out what is causing the error that way.

---

<div class="post-metadata">

### Author: ![shodai](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@shodai](https://discourse.processing.org/u/shodai)
#### Post date: [May 21, 2020, 9:19pm UTC](https://discourse.processing.org/t/error-affecting-all-programs/21115/7 "2020-05-21T21:19:54Z")

</div>

Thank you for all of your help. It turned out that the student had one of the accessibility options checked off in the settings.

---

<div class="post-metadata">

### Author: ![Awesomeness278](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@Awesomeness278](https://discourse.processing.org/u/Awesomeness278)
#### Post date: [September 30, 2020, 5:27pm UTC](https://discourse.processing.org/t/error-affecting-all-programs/21115/8 "2020-09-30T17:27:49Z")

</div>

I ran into the same problem. The issue for me was I had the table text setting turned on. Maybe see if they have that turned on? If they do, turning it off should fix it.
