# Cannot read property 'create' of undefined

**URL:** <https://discourse.psychopy.org/t/cannot-read-property-create-of-undefined/22002>\
**Category:** Online experiments\
**Tags:** pavlovia\
**Created:** [April 4, 2021, 11:42am UTC](https://discourse.psychopy.org/t/cannot-read-property-create-of-undefined/22002 "2021-04-04T11:42:04Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![ladinboluk](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/ladinboluk/32/15388_2.png) [@ladinboluk](https://discourse.psychopy.org/u/ladinboluk)\
**Post date:** [April 6, 2021, 6:22am UTC](https://discourse.psychopy.org/t/cannot-read-property-create-of-undefined/22002/12 "2021-04-06T06:22:14Z")

</div>

I have started a new thread for this issue:

> [@data.importConditions doesn't work on Pavlovia](https://discourse.psychopy.org/t/data-importconditions-doesnt-work-on-pavlovia/22058):
>
> URL of experiment: Description of the problem: [Pavlovia](https://pavlovia.org/ladinboluk/thesis) I used “data.importConditions” to read from my files in Psychopy, but when I try to run it online I get the error data not defined. I have seen some solutions where they add some JS code to the beginning of the experiment, but it doesn’t work for me as I use this in 3 different places, and I generate the name of the file randomly in that routine. To go into more detail, this is the JS code I am referring to: myData = new TrialHandler({ …

---

_[View the full topic](https://discourse.psychopy.org/t/cannot-read-property-create-of-undefined/22002)._
