I have a memory task I built on the latest version of PsychoPy. I want to move the task online through Pavlovia. The task runs fine on the laptop, but when I try to pilot it on Pavlovia, I enter the participant number and immediately get “Reference error: $numEncoding not defined” and the task won’t run.
I use numEncoding so that encoding phase runs for 25 trials. In the ‘begin experiment’ component, I have the variable set as numEncoding = 25.
I tried to troubleshoot this by changing “code type” from “py” to “both”. Now when I reopen the task and look at the code component, it says “Auto --> JS” instead of “both” and even if I set it to both, this does not seem to save. I’m not sure if this is the problem, and I’d appreciate any help or insight on this. This is my first time working with Pavlovia!
I can also share the url of the experiment if you think it would be helpful.