Pavlovia ReferenceError: ExperimentHandler is not defined

Are you trying to save a custom file name?

If so, then you probably need a different approach.