# ReferenceError: Can't find variable asarray

**URL:** <https://discourse.psychopy.org/t/referenceerror-cant-find-variable-asarray/30363>\
**Category:** Online experiments\
**Created:** [August 10, 2022, 7:28pm UTC](https://discourse.psychopy.org/t/referenceerror-cant-find-variable-asarray/30363 "2022-08-10T19:28:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Augustine\_Vanlianuk](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/augustine_vanlianuk/32/16638_2.png) [@Augustine\_Vanlianuk](https://discourse.psychopy.org/u/Augustine_Vanlianuk)\
**Post date:** [August 10, 2022, 7:28pm UTC](https://discourse.psychopy.org/t/referenceerror-cant-find-variable-asarray/30363/1 "2022-08-10T19:28:35Z")

</div>

The builder runs fine, but Pavlovia doesn’t like asarray function and say it is an error.

What should I do? Please, help.

 ![Screen Shot 2022-08-10 at 3.19.27 PM](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/a/8/a8ce133c4cda341adb72ea1d4041780d9a31a83d.png)

Thank you in advance,

Augustine

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [August 10, 2022, 9:51pm UTC](https://discourse.psychopy.org/t/referenceerror-cant-find-variable-asarray/30363/2 "2022-08-10T21:51:34Z")

</div>

What version of PsychoPy are you using?

Is this thread relevant?

> [@"ReferenceError: Can't find variable: asarray" despite any custom code](https://discourse.psychopy.org/t/referenceerror-cant-find-variable-asarray-despite-any-custom-code/22895):
>
> Hi! URL of experiment: Description of the problem: I created a simple experiment using psychopy builder without any custom code. It presents two visual stimuli S1 and S2 one after each other above and under a central fixation cross. The onset of stimulus 2 is variable (SOA variable), and this variable onset is specified in the conditions file by a variable SOA. See here, how the onset is defined in psychopy. While this experiment runs perfectly und…

---

<div class="post-metadata">

**Author:** ![Augustine\_Vanlianuk](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/augustine_vanlianuk/32/16638_2.png) [@Augustine\_Vanlianuk](https://discourse.psychopy.org/u/Augustine_Vanlianuk)\
**Post date:** [August 11, 2022, 3:36pm UTC](https://discourse.psychopy.org/t/referenceerror-cant-find-variable-asarray/30363/3 "2022-08-11T15:36:57Z")

</div>

PsychoPy version is 2021.1.3
