Can't get my experiments to save data - unsure what the problem is

URL of experiment: Pavlovia

Description of the problem: Hi everyone - I can get my experiment to run fine on Pavlovia, the only issue is that I can’t get this experiment (or another, related one) to save any data to Pavlovia. I have no idea why this is the case - incidentally I’m also getting an error " jspsych-pavlovia plugin 3.0.0 - * TypeError: Cannot read properties of undefined (reading ‘name’)" when the experiment finishes, which I’m guessing might have something to do with it. Anyone come across something like this before? Thanks for any help/advice.

Are you using jsPsych rather than PsychoPy?

FYI for future users searching this, another reason for this error can be if you accidentally clear your timeline after the pavlovia_init. Something like:

/* init connection with */
var pavlovia_init = '{'
  type: "pavlovia",
  command: "init"

var timeline = [] // this is a mistake and removes the pavlovia init

to fix it ensure that pavlovia_init is not cleared from the timeline