ReferenceError: Can't find variable: currentLoop

Hello, I’ve run into this error message when trying to run my experiment online and can’t find the cause for it:
ReferenceError: Can’t find variable: currentLoop
Could there be someone who also has run into the same issue?
Heres a link to the pilot (hope it doesn’t run out): Constellations_NAI2022_ENG [PsychoPy]

I’ll also add my javascript file.
Thanks for any help in advance! (18.0 KB)


Hi There, This error should be fixed in the newer releases of psychopy, originally I know it occured when you had an experiment with no loops in it. Simple solution is to add a loop to your experiment (even if nReps is 1)


Thanks for your answer, but the thing is my experiment does have loops in it. Any more tips?