Pavlovia: randchoice not defined

URL of experiment: Pavlovia

Description of the problem:
I’m attempting to test the experiment online, but it crashes at launch.
The error code it gives is “Randchoice is not defined”
image

However, I didn’t use the randchoice function in my code, and it appears only in the psychopy libraries.

Please have a go at using the browser developer console to work out which line of your code is leading to the error.

My crib sheet gives more information about debugging Pavlovia.

It seems the issue was that I fixed the python but not the javascript, which was still calling randchoice. Still having a lot of issues debugging js, as I don’t know it very well, but not this one.