# Two experiments running perfectly yesterday now present an “The next task has unknown type (neither a scheduler nor a Function) “ error

**URL:** <https://discourse.psychopy.org/t/two-experiments-running-perfectly-yesterday-now-present-an-the-next-task-has-unknown-type-neither-a-scheduler-nor-a-function-error/8197>\
**Category:** Online experiments\
**Created:** [June 20, 2019, 3:36pm UTC](https://discourse.psychopy.org/t/two-experiments-running-perfectly-yesterday-now-present-an-the-next-task-has-unknown-type-neither-a-scheduler-nor-a-function-error/8197 "2019-06-20T15:36:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndreiCostea](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/andreicostea/32/4633_2.png) [@AndreiCostea](https://discourse.psychopy.org/u/AndreiCostea)\
**Post date:** [June 20, 2019, 3:36pm UTC](https://discourse.psychopy.org/t/two-experiments-running-perfectly-yesterday-now-present-an-the-next-task-has-unknown-type-neither-a-scheduler-nor-a-function-error/8197/1 "2019-06-20T15:36:13Z")

</div>

I so the older thread # [Pavlovia Run error “the next task has unknown type (neither a Scheduler or a Function)”](https://discourse.psychopy.org/t/pavlovia-run-error-the-next-task-has-unknown-type-neither-a-scheduler-or-a-function/6300)  
However, the full refresh does not solve the problem in this case.

Links of the experiments:

[https://pavlovia.org/run/AndreiRazvanCostea/edsc41\_in\_ex/html/](https://pavlovia.org/run/AndreiRazvanCostea/edsc41_in_ex/html/)

[https://pavlovia.org/run/AndreiRazvanCostea/edsc42\_ex\_in/html/](https://pavlovia.org/run/AndreiRazvanCostea/edsc42_ex_in/html/)

This is an ongoing experiment and until a few hours, data from the participants were coming in. Suddenly, I’ve got ‘bombarded’ with messages and print screens such as the one I attach below.

Now the experiments do not run on my machine also, the error appears right after clicking the OK button which says all resources downloaded.

Is there an update going on at the moment? Should I stop collecting data at this time?

 ![Capture](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/0/3/030de992a6312ddc8a1a7ec93893c13506145c42.jpeg)

---

<div class="post-metadata">

**Author:** ![jon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jon/32/22_2.png) [@jon](https://discourse.psychopy.org/u/jon)\
**Post date:** [June 20, 2019, 3:52pm UTC](https://discourse.psychopy.org/t/two-experiments-running-perfectly-yesterday-now-present-an-the-next-task-has-unknown-type-neither-a-scheduler-nor-a-function-error/8197/2 "2019-06-20T15:52:16Z")

</div>

I’ll check what’s going wrong

---

<div class="post-metadata">

**Author:** ![AndreiCostea](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/andreicostea/32/4633_2.png) [@AndreiCostea](https://discourse.psychopy.org/u/AndreiCostea)\
**Post date:** [June 20, 2019, 4:04pm UTC](https://discourse.psychopy.org/t/two-experiments-running-perfectly-yesterday-now-present-an-the-next-task-has-unknown-type-neither-a-scheduler-nor-a-function-error/8197/3 "2019-06-20T16:04:30Z")

</div>

Short update, I tried to upload the psychopy experiment into a fresh repo on Pavlovia – and in this case it throws the attached error. I hope it helps.

If I can be of assistance in any way, let me know John.

 ![3](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/2/4/2407c64ceb2d4a9ad08a8054271914be5f0b77fd.jpeg)

---

<div class="post-metadata">

**Author:** ![aendrs](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/aendrs/32/5133_2.png) [@aendrs](https://discourse.psychopy.org/u/aendrs)\
**Post date:** [June 20, 2019, 4:16pm UTC](https://discourse.psychopy.org/t/two-experiments-running-perfectly-yesterday-now-present-an-the-next-task-has-unknown-type-neither-a-scheduler-nor-a-function-error/8197/4 "2019-06-20T16:16:46Z")

</div>

I was about to post a similar issue, my test experiment says:

_**"The next task has unknown type (neither a Scheduler nor a Function)"**_

Experiment URL:  
[https://pavlovia.org/run/aendrs/dataval\_test/html/](https://pavlovia.org/run/aendrs/dataval_test/html/)

---

<div class="post-metadata">

**Author:** ![am8302](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/am8302/32/6852_2.png) [@am8302](https://discourse.psychopy.org/u/am8302)\
**Post date:** [June 20, 2019, 6:38pm UTC](https://discourse.psychopy.org/t/two-experiments-running-perfectly-yesterday-now-present-an-the-next-task-has-unknown-type-neither-a-scheduler-nor-a-function-error/8197/5 "2019-06-20T18:38:27Z")

</div>

I’m also experiencing the same error messages. i.e same error message from original repo and second error message when I move to a new repo

---

<div class="post-metadata">

**Author:** ![jon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jon/32/22_2.png) [@jon](https://discourse.psychopy.org/u/jon)\
**Post date:** [June 20, 2019, 8:02pm UTC](https://discourse.psychopy.org/t/two-experiments-running-perfectly-yesterday-now-present-an-the-next-task-has-unknown-type-neither-a-scheduler-nor-a-function-error/8197/6 "2019-06-20T20:02:54Z")

</div>

Try again now. Should be fixed

---

<div class="post-metadata">

**Author:** ![alisonmarie526](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/alisonmarie526/32/5155_2.png) [@alisonmarie526](https://discourse.psychopy.org/u/alisonmarie526)\
**Post date:** [June 21, 2019, 7:14pm UTC](https://discourse.psychopy.org/t/two-experiments-running-perfectly-yesterday-now-present-an-the-next-task-has-unknown-type-neither-a-scheduler-nor-a-function-error/8197/7 "2019-06-21T19:14:59Z")

</div>

I’m experiencing the same error. I have tried uploading to a fresh repo, and in doing so, I receive the same error. I will also note that in the last couple of times I’ve tried to push the experiment to a fresh repo to address these issues, when changing to piloting or running on Pavlovia, it has not generated a URL, so I don’t know if that contributes to these issues. I will also note that I recently upgraded to PsychoPy 3.1.2 and am able to run this experiment perfectly on builder but it has not worked when pushing it to Pavlovia (I have limited JS code components that aren’t generated by the exportHTML function and there are no errors when exporting to html from builder)

 ![nmdttV5](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/6/8/681416b297fd3b426510d88e264b4ecae5bae540.png)

---

<div class="post-metadata">

**Author:** ![apitiot](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@apitiot](https://discourse.psychopy.org/u/apitiot)\
**Post date:** [June 26, 2019, 2:55pm UTC](https://discourse.psychopy.org/t/two-experiments-running-perfectly-yesterday-now-present-an-the-next-task-has-unknown-type-neither-a-scheduler-nor-a-function-error/8197/8 "2019-06-26T14:55:29Z")

</div>

Hello @alisonmarie526,

Could you confirm whether the error is still occuring? If so, would you mind telling me which experiment you are running?  
Best wishes,

Alain
