TypeError during experiment on Pavlovia

The experiment runs perfectly fine in PsychoPy, but when I try to run it on Pavlovia,
I keep getting a TypeError, and the experiment won’t proceed beyond that point.

Does anyone know how to fix this?