Description of the problem: I’ve made a simple primed lexical decision task, which chooses one of three lists (at random) each time the study is run. Everything seems to be running offline without issue, but when it comes time to run online, the following error appears when trying to generate one of the lists:
TypeError: Cannot read property ‘split’ of undefined
I have made sure that all of the lists are properly uploaded online and when the experiment starts, it says that all resources have been properly uploaded. I have uploaded the code here as well! In the code, path1 is what is given as the path to the conditions files, generated at the beginning of the experiment. I have four blocks, each with a trial object., and each accessing the same conditions file, with the selected rows given a variable (rows1-rows4) which refers to a slice containing the start and end indices of the rows to be used in each trial block.
Any help would be appreciated. Thank you in advance
Replying here because I’m getting the same error with a project including only a Form component: TypeError: Cannot read properties of undefined (reading 'split')
There is no “split” in the compiled/uploaded JS and the PsychoPy project literally only has one Form component in it (linked with one formItems.xlsx).
So the error seems to be to do with specific items, e.g. in the cheeseForm this adding and removing this line introduces and removes the error message.
That seems to be to do specifically with there being no ticks or tick options for those values.
Unfortunately that doesn’t resolve the formatting issues - but I think for the split error it might be that you need tick values?