| Reference | Downloads | Github

Issue saving data online?

URL of experiment: Pavlovia

Description of the problem:

I have trials.addData in one of my code components:

But it gives me this error message when I try to run the experiment online:

Screenshot 2020-05-06 at 16.54.13

How do I fix this?

Thank you!

Solved! I just needed to swap trials.addData to psychoJS.experiment.addData().