Reference Error (PsychoPy to Pavlovia)

https://run.pavlovia.org/a.schmitt/self-awareness/?__pilotToken=6512bd43d9caa6e02c990b0a82652dca&__oauthToken=37591414b6ffb918ee949845bc609abbf3a9e01359be75513c690dc38525da44
I did an experiment on PsychoPy and everything is working. Now I want to load it up to Pavlovia. And it starts in the right way but then it says “Reference Error: num_study is not defined”. And I haven´t used num_study in my PsychoPy code (Which I wrote on my one) but it is in the general code (JS).

How can I solve the problem :roll_eyes: ?
Can anyone help me please ?

Look in noReg_code for

study_order = list(util.range(num_study));
random.shuffle(study_order);
  

num_study looks like it is being used by you in custom code.

random.shuffle will also fail in JS.